aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/common/tasks/ufw.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/common/tasks/ufw.yml')
-rw-r--r--ansible/roles/common/tasks/ufw.yml3
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: