diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 57022f2..74c3bcb 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -45,30 +45,6 @@ enabled: true tags: [common, ssh] -- name: Configure UFW defaults - community.general.ufw: - direction: incoming - policy: deny - tags: [common, firewall] - -- name: Allow SSH through UFW - community.general.ufw: - rule: allow - port: "{{ sshd_port }}" - proto: tcp - tags: [common, firewall] - -- name: Allow traffic from local network - community.general.ufw: - rule: allow - src: 192.168.86.0/24 - tags: [common, firewall] - -- name: Enable UFW - community.general.ufw: - state: enabled - tags: [common, firewall] - - name: Configure fail2ban ansible.builtin.systemd: name: fail2ban