Initial commit: VM Creation done
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: Install keepalived
|
||||
apt:
|
||||
name: keepalived
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: Create keepalived config
|
||||
template:
|
||||
src: keepalived.conf.j2
|
||||
dest: /etc/keepalived/keepalived.conf
|
||||
mode: '0644'
|
||||
notify: restart keepalived
|
||||
|
||||
- name: Enable and start keepalived
|
||||
systemd:
|
||||
name: keepalived
|
||||
enabled: yes
|
||||
state: started
|
||||
Reference in New Issue
Block a user