Add the right ironic_inspector config file path
Patch #3 to fix a stupid thing. Change-Id: If4b893cfc95b35cae9af2d7168030b9dbdbc73ec Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
d975864e05
commit
d00b06b3ce
|
@ -15,11 +15,11 @@
|
|||
tasks:
|
||||
- name: Look up the introspection interface
|
||||
become: True
|
||||
ini: path=/var/lib/config-data/puppet-generated/etc/ironic-inspector/inspector.conf section=iptables key=dnsmasq_interface
|
||||
ini: path=/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf section=iptables key=dnsmasq_interface
|
||||
register: interface
|
||||
- name: Look up the introspection interface from the deprecated option
|
||||
become: True
|
||||
ini: path=/var/lib/config-data/puppet-generated/etc/ironic-inspector/inspector.conf section=firewall key=dnsmasq_interface
|
||||
ini: path=/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/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' }}
|
||||
|
|
Loading…
Reference in New Issue