--- # Enable SNAT using iptables. - name: Ensure SNAT is configured hosts: seed:overcloud tags: - snat vars: snat_rules: - interface: "{{ ansible_default_ipv4.interface }}" source_ip: "{{ ansible_default_ipv4.address }}" roles: - role: snat