--- - 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 }}"