aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/ufw
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-01-03 00:21:27 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-03 00:21:27 +0100
commit9afcd21e321df9ba68fe0321ea23275ca569f030 (patch)
tree1b7d5a4e5b5b14b2ff6d8dedb7a8db0234024565 /ansible/roles/ufw
parent2b7088717b9b8cd79d4dce6efb271db56377bac0 (diff)
downloadinfra-9afcd21e321df9ba68fe0321ea23275ca569f030.tar.gz
infra-9afcd21e321df9ba68fe0321ea23275ca569f030.tar.bz2
infra-9afcd21e321df9ba68fe0321ea23275ca569f030.tar.xz
infra-9afcd21e321df9ba68fe0321ea23275ca569f030.zip
ufw: Install packages.
Diffstat (limited to 'ansible/roles/ufw')
-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