ansible/ufw/allow.yml
2026-03-21 17:42:45 +00:00

8 lines
172 B
YAML

- hosts: localhost
tasks:
- name: Allow port
community.general.ufw:
rule: allow
port: "{{ port }}"
proto: "{{ proto | default(omit) }}"