add an option to disable the firewall

This commit is contained in:
Andreas Zweili 2021-11-12 08:56:34 +01:00
parent bc8b1933ba
commit f37e34ed67
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
- name: "Enable UFW"
ufw:
state: "enabled"
when: ufw_disabled is undefined
- name: "Lock root user"
command: "passwd -l root"