summaryrefslogtreecommitdiffstats
path: root/roles/keepalived/defaults/main.yml
blob: a7087b0bfe2af86cf85e21258dccb5705f042fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
keepalived_vips: "{{ ands_ipfailover_vips | default([]) }}"
keepalived_iface: "{{ ands_ipfailover_interface | default('eth0') }}"

keepalived_master_prio: 80
keepalived_backup_prio: 20
keepalived_check_interval: 5

keepalived_password: "{{ ands_secrets.keepalived }}"

keepalived_node_id: "{{ play_hosts.index(inventory_hostname) }}"
keepalived_num_nodes: "{{ play_hosts | length }}"