From c9a5f95886991da258ab563fe5e5f66d5b570a35 Mon Sep 17 00:00:00 2001 From: Pluto Date: Mon, 2 Feb 2026 07:55:13 -0600 Subject: [PATCH] Remove UFW firewall tasks from common role per Jeremy request --- roles/common/tasks/main.yml | 24 ------------------------ 1 file changed, 24 deletions(-) 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