From b7a09296bc5b6b13bcec747f8bf5971d668edac9 Mon Sep 17 00:00:00 2001 From: NaeiKinDus Date: Sun, 21 Jan 2024 00:00:00 +0000 Subject: [PATCH] fix(security): flush handlers immediately after modifying firewall rules --- .../nullified/infrastructure/roles/security/tasks/firewall.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collections/ansible_collections/nullified/infrastructure/roles/security/tasks/firewall.yml b/collections/ansible_collections/nullified/infrastructure/roles/security/tasks/firewall.yml index 4373220..203edbb 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/security/tasks/firewall.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/security/tasks/firewall.yml @@ -68,3 +68,6 @@ dest: "/etc/nftables.d/{{ (item.split('/') | last)[:-3] }}" mode: '0600' loop: "{{ q('fileglob', '../templates/system/nftables.d/*.j2') }}" + +- name: flush handlers + ansible.builtin.meta: flush_handlers