diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-19 21:23:18 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-19 21:23:18 +0100 |
commit | 503de953a9be6d8d57495ef400f1341b3888f3f0 (patch) | |
tree | 29a7041a85ba9c90967ffff61115ed008f7d6c6a /ansible/roles/common/tasks/ufw.yml | |
parent | c1daa61121ad6800bff06e9b194d402a511d67a8 (diff) |
ansible: add notifys to restart ufw w/ handlers
Diffstat (limited to 'ansible/roles/common/tasks/ufw.yml')
-rw-r--r-- | ansible/roles/common/tasks/ufw.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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: |