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