Fix uuid and name parameters in inspect task

When node has no UUID specified in inventory, inspections should proceed with
node name.

Change-Id: I45ab343e4d8d35a2faf84cce356fc1f837dfb169
This commit is contained in:
Andrey Shestakov 2016-12-29 19:50:20 +02:00
parent 0128ca8638
commit d6de3f9655

View File

@ -38,6 +38,7 @@
auth_type: "{{ auth_type | default(omit) }}" auth_type: "{{ auth_type | default(omit) }}"
auth: "{{ auth | default(omit) }}" auth: "{{ auth | default(omit) }}"
ironic_url: "{{ ironic_url | default(omit) }}" ironic_url: "{{ ironic_url | default(omit) }}"
uuid: "{{ uuid }}" uuid: "{{ uuid | default('') }}"
name: "{{ name | default('') }}"
timeout: "{{ inspection_wait_timeout }}" timeout: "{{ inspection_wait_timeout }}"
delegate_to: localhost delegate_to: localhost