debian: take it easy with the reboots
This commit is contained in:
parent
7c209a7c5c
commit
db310ba716
|
@ -1,6 +1,9 @@
|
|||
- name: reboot
|
||||
reboot:
|
||||
|
||||
- name: reload interfaces
|
||||
command: ifreload -a
|
||||
|
||||
- name: reload frr
|
||||
command: /usr/lib/frr/frr-reload.py --reload /etc/frr/frr.conf
|
||||
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
dest: /etc/network/interfaces.d/loopback.intf
|
||||
src: loopback.intf.j2
|
||||
mode: 0644
|
||||
notify: reboot
|
||||
notify: reload interfaces
|
||||
|
||||
- name: Set up fabric interfaces
|
||||
template:
|
||||
dest: /etc/network/interfaces.d/fabric.intf
|
||||
src: fabric.intf.j2
|
||||
mode: 0644
|
||||
notify: reboot
|
||||
notify: reload interfaces
|
||||
|
||||
- name: Install ifupdown2
|
||||
package: name=ifupdown2
|
||||
|
|
Loading…
Reference in a new issue