RELOAD keepalived, don't restart it

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
ynerant 2021-07-04 14:20:52 +02:00
parent 6f4c39dbd8
commit a1ed04cab8
Signed by untrusted user: ynerant
GPG key ID: 3A75C55819C8CF85
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
--- ---
- name: restart keepalived - name: Reload keepalived
systemd: systemd:
state: restarted state: reloaded
name: keepalived name: keepalived
enabled: true enabled: true

View file

@ -80,7 +80,7 @@
src: keepalived.conf src: keepalived.conf
dest: /etc/keepalived/keepalived.conf dest: /etc/keepalived/keepalived.conf
mode: 0644 mode: 0644
notify: restart keepalived notify: Reload keepalived
when: "'routeur-aurore' not in ansible_hostname" when: "'routeur-aurore' not in ansible_hostname"
- name: configure keepalived for routeur-aurore* - name: configure keepalived for routeur-aurore*