Debut de separation par distribution + ajout keepalived

This commit is contained in:
stef
2026-02-16 22:20:56 +00:00
parent 618c5ef1a0
commit f3855df1a8
15 changed files with 741 additions and 54 deletions

View File

@@ -0,0 +1,22 @@
vrrp_track_process track_nginx {
process nginx
weight 10
}
vrrp_instance VI_1 {
state {{ keepalived.state }}
interface {{ansible_default_ipv4.interface}}
virtual_router_id 51
priority {{ keepalived.priority }}
advert_int 1
authentication {
auth_type PASS
auth_pass 12345
}
virtual_ipaddress {
{{ vip_address }}
}
track_process {
track_nginx
}
}