custom firewall solution

This commit is contained in:
2022-04-16 17:47:49 +02:00
parent 49102eb285
commit 75d7aad012
10 changed files with 50 additions and 50 deletions

View File

@ -0,0 +1,8 @@
---
- name: Apply custom ufw rules
community.general.ufw:
rule: allow
port: "{{item.port}}"
proto: {{item.proto}}
interface: {{item.interface}}
with_items: "{{firewall}}"