[EVO] Ajouter les scripts de notifications

This commit is contained in:
2023-04-21 16:32:34 +02:00
parent 954528bd4d
commit 78941b2f80
5 changed files with 79 additions and 1 deletions

View File

@@ -62,6 +62,19 @@ vrrp_instance VIP_{{ keepalived_uid }} {
}
{% endif %}
{% if keepalived_notify_master %}
notify_master {{ keepalived_scripts_path }}/notify_master.sh
{% endif %}
{% if keepalived_notify_backup %}
notify_backup {{ keepalived_scripts_path }}/notify_backup.sh
{% endif %}
{% if keepalived_notify_fault %}
notify_fault {{ keepalived_scripts_path }}/notify_fault.sh
{% endif %}
{% if keepalived_notify_stop %}
notify_stop {{ keepalived_scripts_path }}/notify_stop.sh
{% endif %}
{% if keepalived_track_scripts | length > 0 %}
track_script {
{% for script in keepalived_track_scripts %}