mirror of https://github.com/easzlab/kubeasz.git
minor fix in role:ex-lb
parent
d0d941589e
commit
8996741419
|
@ -1,5 +1,3 @@
|
|||
- hosts: ex-lb
|
||||
roles:
|
||||
- { role: chrony, when: "groups['chrony']|length > 0" }
|
||||
- prepare
|
||||
- ex-lb
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
global_defs {
|
||||
router_id lb-backup-{{ inventory_hostname }}
|
||||
script_user root
|
||||
enable_script_security
|
||||
}
|
||||
|
||||
vrrp_script check-haproxy {
|
||||
script "killall -0 haproxy"
|
||||
script "/usr/bin/killall -0 haproxy"
|
||||
interval 5
|
||||
weight -60
|
||||
}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
global_defs {
|
||||
router_id lb-master-{{ inventory_hostname }}
|
||||
script_user root
|
||||
enable_script_security
|
||||
}
|
||||
|
||||
vrrp_script check-haproxy {
|
||||
script "killall -0 haproxy"
|
||||
script "/usr/bin/killall -0 haproxy"
|
||||
interval 5
|
||||
weight -60
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue