infra/roles/webservers/tasks/main.yml

16 lines
220 B
YAML
Raw Normal View History

2024-01-02 19:05:01 -05:00
---
- name: allow http
ufw:
rule: allow
port: '80'
proto: tcp
- name: allow https
ufw:
rule: allow
port: '443'
proto: tcp
- name: restart ufw
service: name=ufw state=restarted enabled=yes