fabric: reload switchd before reloading interfaces
Don’t want to bring up a nonexisting interface.
This commit is contained in:
parent
0d24f9fdc7
commit
6fd5432b69
|
@ -1,14 +1,14 @@
|
|||
- name: reload interfaces
|
||||
command:
|
||||
cmd: ifreload -a
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: reload switchd
|
||||
service:
|
||||
name: switchd
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: reload interfaces
|
||||
command:
|
||||
cmd: ifreload -a
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: restart frr
|
||||
service:
|
||||
name: frr
|
||||
|
|
Loading…
Reference in a new issue