openpunk-ansible/tasks/firewall.yml

18 lines
286 B
YAML
Raw Normal View History

2022-05-30 15:46:36 +00:00
---
- name: Allow port 22
community.general.ufw:
rule: allow
port: '22'
proto: tcp
- name: Allow port 80
community.general.ufw:
rule: allow
port: '80'
proto: tcp
- name: Allow port 443
community.general.ufw:
rule: allow
port: '443'
proto: tcp