8 lines
214 B
YAML
8 lines
214 B
YAML
|
---
|
||
|
- name: Allow Web traffic
|
||
|
ufw: rule={{ item.rule }} port={{ item.port }} proto={{ item.proto }}
|
||
|
with_items:
|
||
|
- { rule: 'allow', port: '80', proto: 'tcp' }
|
||
|
notify:
|
||
|
- restart ufw
|
||
|
become: yes
|