Beginning-Ansible-Concepts-.../chapter09/roles/firewall/tasks/main.yml
2022-04-23 08:57:49 +01:00

11 lines
171 B
YAML

---
- name: Firewall - Allow SSH connections
ufw:
rule: allow
name: OpenSSH
- name: Firewall - Deny everything else
ufw:
state: enabled
policy: deny