diff --git a/roles/debian/handlers/main.yml b/roles/debian/handlers/main.yml index 9afde6e..9e0bbc8 100644 --- a/roles/debian/handlers/main.yml +++ b/roles/debian/handlers/main.yml @@ -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 diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index 5e5920d..d9f7852 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -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