You've already forked role_keepalived
[EVO] Ajouter les scripts de notifications
This commit is contained in:
@@ -58,6 +58,19 @@ vrrp_instance VIP_{{ keepalived_uid }} {
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
{% if keepalived_notify_master | length > 0 %}
|
||||
notify_master {{ keepalived_notify_master.dst }}
|
||||
{% endif %}
|
||||
{% if keepalived_notify_backup | length > 0 %}
|
||||
notify_master {{ keepalived_notify_backup.dst }}
|
||||
{% endif %}
|
||||
{% if keepalived_notify_fault | length > 0 %}
|
||||
notify_master {{ keepalived_notify_fault.dst }}
|
||||
{% endif %}
|
||||
{% if keepalived_notify_stop | length > 0 %}
|
||||
notify_master {{ keepalived_notify_stop.dst }}
|
||||
{% endif %}
|
||||
|
||||
{% if keepalived_track_scripts | length > 0 %}
|
||||
track_script {
|
||||
{% for script in keepalived_track_scripts %}
|
||||
|
Reference in New Issue
Block a user