update readme and examples

This commit is contained in:
ace
2024-05-16 12:40:52 +03:00
parent a9cc4a4f84
commit 7e7071417d
2 changed files with 40 additions and 4 deletions

View File

@ -43,12 +43,12 @@ keepalived_default_config: {}
# interface {{ ansible_enp3s0.device | default(ansible_default_ipv4.interface) }}
# unicast_src_ip {{ ansible_enp3s0.ipv4.address | default(ansible_default_ipv4.address) }}
# unicast_peer {
# {% for peer in groups.patroni %}
# {{ hostvars[peer].ansible_enp3s0.ipv4.address if (hostvars[peer].ansible_enp3s0.ipv4.address != ansible_enp3s0.ipv4.address and hostvars[peer].ansible_enp3s0.ipv4.address != ansible_enp4s0.ipv4.address) }}
# {% for peer in groups.all %}
# {{ hostvars[peer].ansible_enp3s0.ipv4.address if hostvars[peer].ansible_enp3s0.ipv4.address != ansible_enp3s0.ipv4.address }}
# {% endfor %}
# }
# virtual_ipaddress {
# {{ keepalived_vip }}/32 dev {{ keepalived_vip_dev }}
# {{ keepalived_vip }}/32 dev enp3s0
# }
# track_process {
# haproxy