mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-10 01:17:43 +01:00
11 lines
171 B
YAML
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
|
|
|