feat: add ufw rule
This commit is contained in:
parent
5e2cafaf47
commit
2ebdb06b5e
3 changed files with 27 additions and 2 deletions
|
|
@ -34,3 +34,10 @@
|
|||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Open HTTP ports in firewall
|
||||
community.general.ufw:
|
||||
port: '{{ item }}'
|
||||
rule: 'allow'
|
||||
loop:
|
||||
- 'http'
|
||||
- 'https'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue