2022-11-24 09:02:00 +00:00

16 lines
223 B
YAML

---
- hosts: all
tasks:
- name: activer UFW
community.general.ufw:
state: enabled
policy: allow
- name: access port 22
community.general.ufw:
rule: allow
port: '22'
proto: ssh