aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/ufw/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/ufw/tasks/main.yml b/ansible/roles/ufw/tasks/main.yml
index b6a963b..11a6a28 100644
--- a/ansible/roles/ufw/tasks/main.yml
+++ b/ansible/roles/ufw/tasks/main.yml
@@ -1,5 +1,14 @@
- tags:
- ufw
+ - packages
+ become: yes
+ block:
+ - apt:
+ name: ufw
+ install_recommends: no
+
+- tags:
+ - ufw
become: yes
block:
- notify: ufw reload