Reload keepalived instead of restarting it
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
jeltz 2021-02-04 22:25:14 +01:00
parent 48151a8057
commit ee9503393a
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -72,7 +72,7 @@
src: keepalived.conf
dest: /etc/keepalived/keepalived.conf
mode: 0644
notify: restart keepalived
notify: reload keepalived
when: "'routeur-aurore' not in ansible_hostname"
- name: install notify-quagga on routeur-aurore*
@ -87,7 +87,7 @@
src: keepalived-aurore.conf
dest: /etc/keepalived/keepalived.conf
mode: 0644
notify: restart keepalived
notify: reload keepalived
when: "'routeur-aurore' in ansible_hostname"
- name: Configure cron