mirror of
https://github.com/koodiklinikka/playbooks.git
synced 2026-02-10 14:51:30 +00:00
10 lines
175 B
YAML
10 lines
175 B
YAML
---
|
|
- name: Enable firewall
|
|
ufw: state=enabled policy=allow
|
|
|
|
- name: Allow tcp/22 for SSH
|
|
ufw: rule=allow port=22 proto=tcp
|
|
|
|
- name: Reject other ports
|
|
ufw: rule=reject
|