Beginning-Ansible-Concepts-.../chapter10/roles/firewall/tasks/main.yml

16 lines
217 B
YAML
Raw Normal View History

2022-03-21 18:17:54 +01:00
---
- name: Firewall - Allow SSH connections
ufw:
rule: allow
name: OpenSSH
tags:
- firewall
- name: Firewall - Deny everything else
ufw:
state: enabled
policy: deny
tags:
- firewall