feat: add ufw rule

This commit is contained in:
Jef Roosens 2025-06-05 18:42:12 +02:00
parent 5e2cafaf47
commit 2ebdb06b5e
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
3 changed files with 27 additions and 2 deletions

View file

@ -34,3 +34,10 @@
state: started
enabled: true
- name: Open HTTP ports in firewall
community.general.ufw:
port: '{{ item }}'
rule: 'allow'
loop:
- 'http'
- 'https'