[EVO] Ajouter les scripts de notifications

This commit is contained in:
pulsar committed 2023-05-02 12:04:18 +02:00
1 parent 954528bd4d
commit 78941b2f80
5 files changed
+79 -1

No files matched your search

+13
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 %}