exit: fix handler order

Ensure interfaces are reloaded before reloading FRR.
This commit is contained in:
Timotej Lazar 2025-05-06 13:16:59 +02:00
parent 3e1949565a
commit 899d7122f5

View file

@ -1,13 +1,13 @@
- name: reload frr
command:
cmd: /usr/lib/frr/frr-reload
when: "'handler' not in ansible_skip_tags"
- name: reload interfaces
command:
cmd: ifreload -a
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
service: name=keepalived state=restarted
when: "'handler' not in ansible_skip_tags"