Use containerized location of ironic inspector.conf for validation

This uses the containerized location of inspector.conf in the switch-vlans
validation, it is no longer available at /etc/ironic-inspector/inspector.conf.

Change-Id: Ie6491d9fe09027fa4eb1b9223f950e99b6b7c4d1
(cherry picked from commit a178605986)
This commit is contained in:
Bob Fournier 2018-10-03 14:30:27 -04:00
parent b6e1f21179
commit 4064fb713c

View File

@ -16,11 +16,11 @@
tasks:
- name: Get Ironic Inspector swift auth_url
become: true
ini: path=/etc/ironic-inspector/inspector.conf section=swift key=auth_url
ini: path=/var/lib/config-data/ironic_inspector/etc/ironic-inspector/inspector.conf section=swift key=auth_url
register: auth_url
- name: Get Ironic Inspector swift password
become: true
ini: path=/etc/ironic-inspector/inspector.conf section=swift key=password
ini: path=/var/lib/config-data/ironic_inspector/etc/ironic-inspector/inspector.conf section=swift key=password
register: password
- name: Check that switch vlans are present if used in nic-config files
switch_vlans: