Fix keepalive pingable_check_script
The source field needs to be called src_check_script instead of src_ping_check. Plus, check_script takes parameters, so we need to define the target name under dest_check_script field. Change-Id: I7b02a5d58816d3dc7b21a0b5f3bedab530f2b906 Closes-bug: #1816561
This commit is contained in:
parent
c62d61c16f
commit
cf4a3d96c9
@ -36,10 +36,14 @@ keepalived_global_defs:
|
||||
keepalived_scripts:
|
||||
haproxy_check_script:
|
||||
check_script: "/etc/keepalived/haproxy_check.sh"
|
||||
##if a src_check_script is defined, it will be uploaded from src_check_script
|
||||
##on the deploy host to the check_script location. If the check_script needs
|
||||
##parameters, you can define the location under dest_check_script.
|
||||
src_check_script: "{{ playbook_dir }}/../scripts/keepalived_haproxy_check.sh"
|
||||
pingable_check_script:
|
||||
check_script: "/etc/keepalived/pingable_check.sh {{ keepalived_ping_count }} {{ keepalived_ping_address }}"
|
||||
src_ping_script: "{{ playbook_dir }}/../scripts/keepalived_pingable_check.sh"
|
||||
dest_check_script: "/etc/keepalived/pingable_check.sh"
|
||||
src_check_script: "{{ playbook_dir }}/../scripts/keepalived_pingable_check.sh"
|
||||
interval: "{{ keepalived_ping_interval }}"
|
||||
fall: 2
|
||||
rise: 4
|
||||
|
Loading…
Reference in New Issue
Block a user