Added playbook and role for k8s-ha-api

This commit is contained in:
2025-08-23 13:39:33 +03:00
parent fb73056312
commit 8efad362a0
10 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,14 @@
vrrp_instance VI_1 {
state {{ hostvars[inventory_hostname].state }}
interface {{ ansible_default_ipv4.interface }}
virtual_router_id 51
priority {{ hostvars[inventory_hostname].priority }}
advert_int 1
authentication {
auth_type PASS
auth_pass {{ keepalived_auth_pass }}
}
virtual_ipaddress {
{{ keepalived_vip }}
}
}