mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-09 17:07:44 +01:00
15 lines
217 B
YAML
15 lines
217 B
YAML
---
|
|
- name: Firewall - Allow SSH connections
|
|
ufw:
|
|
rule: allow
|
|
name: OpenSSH
|
|
tags:
|
|
- firewall
|
|
|
|
- name: Firewall - Deny everything else
|
|
ufw:
|
|
state: enabled
|
|
policy: deny
|
|
tags:
|
|
- firewall
|
|
|