From d6eea602b72afdf2794d7e4d43708ee4048c6f40 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Sun, 29 Oct 2017 21:26:10 +0100 Subject: [PATCH] Flush handlers after configuring network interfaces --- roles/network-batman/tasks/main.yml | 3 +++ roles/network-fastd/tasks/main.yml | 3 +++ roles/network-ffrl/tasks/main.yml | 3 +++ roles/network-meshbridge/tasks/main.yml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/roles/network-batman/tasks/main.yml b/roles/network-batman/tasks/main.yml index 3a1f901..de4e7e4 100644 --- a/roles/network-batman/tasks/main.yml +++ b/roles/network-batman/tasks/main.yml @@ -12,3 +12,6 @@ dest: "/etc/network/interfaces.d/{{ item.id }}BAT" notify: reload network interfaces with_items: "{{ meshes }}" + +- name: flush handlers + meta: flush_handlers diff --git a/roles/network-fastd/tasks/main.yml b/roles/network-fastd/tasks/main.yml index 2cf7998..320a6c9 100644 --- a/roles/network-fastd/tasks/main.yml +++ b/roles/network-fastd/tasks/main.yml @@ -16,3 +16,6 @@ with_subelements: - "{{ meshes }}" - fastd.intragate.instances + +- name: flush handlers + meta: flush_handlers diff --git a/roles/network-ffrl/tasks/main.yml b/roles/network-ffrl/tasks/main.yml index ae0870d..8ef075a 100644 --- a/roles/network-ffrl/tasks/main.yml +++ b/roles/network-ffrl/tasks/main.yml @@ -11,3 +11,6 @@ src: ffrl_nat.j2 dest: "/etc/network/interfaces.d/ffrl-nat" notify: reload network interfaces + +- name: flush handlers + meta: flush_handlers diff --git a/roles/network-meshbridge/tasks/main.yml b/roles/network-meshbridge/tasks/main.yml index ef4e9e9..0ed113a 100644 --- a/roles/network-meshbridge/tasks/main.yml +++ b/roles/network-meshbridge/tasks/main.yml @@ -12,3 +12,6 @@ dest: "/etc/sysfs.d/99-{{ item.id }}BR.conf" with_items: "{{ meshes }}" notify: activate sysfs variables + +- name: flush handlers + meta: flush_handlers