This commit is contained in:
bee
2026-05-02 13:59:46 +02:00
parent d56ff74f96
commit 3273885e11
10 changed files with 173 additions and 47 deletions
+8 -2
View File
@@ -66,19 +66,25 @@
proto: "udp"
to_port: 53
- name: UFW - Allow scraping
- name: UFW - Allow node exporter scraping
community.general.ufw:
rule: allow
interface_in: podman+
proto: "tcp"
to_port: 9100
- name: UFW - Allow podman exporter scraping
community.general.ufw:
rule: allow
interface_in: podman+
proto: "tcp"
to_port: 9882
- name: UFW - Enable and deny by default
community.general.ufw:
state: enabled
default: deny
- name: UFW - Reload firewall
changed_when: true
ansible.builtin.command: ufw reload