From 6fd5432b69ff015ced37c42031abfd044f83171a Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 29 Dec 2023 09:01:01 +0100 Subject: [PATCH] fabric: reload switchd before reloading interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t want to bring up a nonexisting interface. --- roles/fabric/handlers/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/fabric/handlers/main.yml b/roles/fabric/handlers/main.yml index 05892b5..24945a1 100644 --- a/roles/fabric/handlers/main.yml +++ b/roles/fabric/handlers/main.yml @@ -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