ansible/roles/keepalived/tasks/main.yml
Jeltz a616065513
All checks were successful
continuous-integration/drone/push Build is passing
Add keepalived role
2022-01-01 21:45:17 +01:00

21 lines
365 B
YAML

---
- name: Install keepalived
apt:
name: keepalived
- name: Configure keepalived
template:
src: keepalived.conf
dest: /etc/keepalived/keepalived.conf
owner: root
group: root
mode: u=rw,g=,o=
notify:
- Reload keepalived
- name: Enable and start keepalived
systemd:
name: keepalived
enabled: true
state: started
...