Files
gitlab-mirror/roles/ufw/molecule/default/converge.yml
Sergey Malyuk 0b9ba8964f add ufw role
2025-12-11 10:28:32 +03:00

18 lines
349 B
YAML

---
- name: Converge
hosts: all
vars:
custom_rules:
- port: 80
- port: 9080
src: "10.2.1.0/24"
- interface: eth0@if288
direction: in
comment: "Allow all incoming traffic on eth0@if288"
roles:
- role: genlab.ufw
disable_ipv6: true
limit_ssh: true
rules: "{{ custom_rules }}"