aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/ufw/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/ufw/tasks/main.yml b/roles/ufw/tasks/main.yml
index 00749d2..ae6093b 100644
--- a/roles/ufw/tasks/main.yml
+++ b/roles/ufw/tasks/main.yml
@@ -1,3 +1,10 @@
+- name: Install UFW
+ apt:
+ update_cache: true
+ cache_valid_time: 3600
+ pkg:
+ - ufw
+
- name: Allow OpenSSH
community.general.ufw:
rule: allow