infra/deprecated/playbooks/tasks/ufw-setup.yml
shockrah 79bd7424c3
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 17s
Moving around more stuff
2025-05-12 00:18:24 -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