--- - name: Look up the introspection interface become: true validations_read_ini: path: "{{ ironic_inspector_conf }}" section: iptables key: dnsmasq_interface register: interface - name: Look up the introspection interface from the deprecated option become: true validations_read_ini: path: "{{ ironic_inspector_conf }}" section: firewall key: dnsmasq_interface register: interface_deprecated - name: Look for rogue DHCP servers script: files/rogue_dhcp.py {{ interface.value or interface_deprecated.value or 'br-ctlplane' }} changed_when: false