infra/ansible/tasks/ufw-setup.yml
shockrah be13e9e71f
Some checks failed
Actions demo / simple-echo (push) Failing after 1s
Moving ansible playbook stuff to its new resting place
2024-08-17 16:24:41 -07:00

16 lines
245 B
YAML

- name: SSH Limit in fireweall
community.general.ufw:
rule: limit
port: ssh
proto: tcp
- name: Allow web traffic as needed
community.general.ufw:
rule: allow
port: "{{ item }}"
proto: tcp
loop:
- 80
- 443