From 503de953a9be6d8d57495ef400f1341b3888f3f0 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Wed, 19 Mar 2025 21:23:18 +0100 Subject: ansible: add notifys to restart ufw w/ handlers --- ansible/roles/common/tasks/ufw.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ansible/roles/common/tasks/ufw.yml') diff --git a/ansible/roles/common/tasks/ufw.yml b/ansible/roles/common/tasks/ufw.yml index 155579f..aa8777b 100644 --- a/ansible/roles/common/tasks/ufw.yml +++ b/ansible/roles/common/tasks/ufw.yml @@ -9,6 +9,7 @@ rule: allow name: OpenSSH comment: "Allow SSH" + notify: Restart UFW - name: Allow HTTP community.general.ufw: @@ -16,6 +17,7 @@ port: 80 proto: tcp comment: "Allow HTTP" + notify: Restart UFW - name: Allow HTTPS community.general.ufw: @@ -23,6 +25,7 @@ port: 443 proto: tcp comment: "Allow HTTPS" + notify: Restart UFW - name: Enable UFW community.general.ufw: -- cgit v1.2.3