Reload keepalived instead of restarting it
This commit is contained in:
parent
48151a8057
commit
ee9503393a
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: restart keepalived
|
- name: reload keepalived
|
||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: reloaded
|
||||||
name: keepalived
|
name: keepalived
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,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: install notify-quagga on routeur-aurore*
|
- name: install notify-quagga on routeur-aurore*
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
src: keepalived-aurore.conf
|
src: keepalived-aurore.conf
|
||||||
dest: /etc/keepalived/keepalived.conf
|
dest: /etc/keepalived/keepalived.conf
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: restart keepalived
|
notify: reload keepalived
|
||||||
when: "'routeur-aurore' in ansible_hostname"
|
when: "'routeur-aurore' in ansible_hostname"
|
||||||
|
|
||||||
- name: Configure cron
|
- name: Configure cron
|
||||||
|
|
Loading…
Reference in a new issue