ansible-role-keepalived/test/integration/default/default.yml
2019-04-12 18:29:11 +02:00

28 lines
588 B
YAML

---
- hosts: localhost
connection: local
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
roles:
- ansible-role-keepalived