doc: add more ufw comments

This commit is contained in:
Clément Désiles
2025-11-10 23:57:34 +01:00
parent cab15e590e
commit ba37edd498
2 changed files with 18 additions and 7 deletions
+10
View File
@@ -52,6 +52,16 @@
daemon_reload: true
when: not override_conf.stat.exists
- name: Enable UFW
community.general.ufw:
state: enabled
- name: Enable UFW service at startup
ansible.builtin.systemd:
name: ufw
enabled: true
state: started
- name: Start and enable fail2ban
ansible.builtin.service:
name: fail2ban