exit: fix handler order
Ensure interfaces are reloaded before reloading FRR.
This commit is contained in:
parent
3e1949565a
commit
899d7122f5
1 changed files with 5 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
||||||
- name: reload frr
|
|
||||||
command:
|
|
||||||
cmd: /usr/lib/frr/frr-reload
|
|
||||||
when: "'handler' not in ansible_skip_tags"
|
|
||||||
|
|
||||||
- name: reload interfaces
|
- name: reload interfaces
|
||||||
command:
|
command:
|
||||||
cmd: ifreload -a
|
cmd: ifreload -a
|
||||||
when: "'handler' not in ansible_skip_tags"
|
when: "'handler' not in ansible_skip_tags"
|
||||||
|
|
||||||
|
- name: reload frr
|
||||||
|
command:
|
||||||
|
cmd: /usr/lib/frr/frr-reload
|
||||||
|
when: "'handler' not in ansible_skip_tags"
|
||||||
|
|
||||||
- name: restart keepalived
|
- name: restart keepalived
|
||||||
service: name=keepalived state=restarted
|
service: name=keepalived state=restarted
|
||||||
when: "'handler' not in ansible_skip_tags"
|
when: "'handler' not in ansible_skip_tags"
|
||||||
|
|
Loading…
Reference in a new issue