diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-03 00:21:27 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-03 00:21:27 +0100 |
commit | 9afcd21e321df9ba68fe0321ea23275ca569f030 (patch) | |
tree | 1b7d5a4e5b5b14b2ff6d8dedb7a8db0234024565 /ansible/roles/ufw | |
parent | 2b7088717b9b8cd79d4dce6efb271db56377bac0 (diff) | |
download | infra-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.yml | 9 |
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 |