ansible-role-keepalived/molecule/default/converge.yml

27 lines
578 B
YAML

---
- name: Converge
hosts: all
roles:
- ansible-role-keepalived
vars:
keepalived_vrrp_scripts:
- name: hello
script: /bin/true
fall: 3
interval: 10
rise: 5
keepalived_vrrp_instances:
- name: test
state: master
interface: eth0
virtual_router_id: 5
priority: 200
authentication:
type: pass
pass: 12345678
virtual_ipaddresses:
- 172.255.0.254/32 dev eth0
track_scripts:
- hello
notify:
master: /bin/true