From d6de3f96556a05282b42e3792523c4944d6fb560 Mon Sep 17 00:00:00 2001 From: Andrey Shestakov Date: Thu, 29 Dec 2016 19:50:20 +0200 Subject: [PATCH] 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 --- playbooks/roles/ironic-inspect-node/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/ironic-inspect-node/tasks/main.yml b/playbooks/roles/ironic-inspect-node/tasks/main.yml index e98ee215e..b7a75e7f5 100644 --- a/playbooks/roles/ironic-inspect-node/tasks/main.yml +++ b/playbooks/roles/ironic-inspect-node/tasks/main.yml @@ -38,6 +38,7 @@ auth_type: "{{ auth_type | default(omit) }}" auth: "{{ auth | default(omit) }}" ironic_url: "{{ ironic_url | default(omit) }}" - uuid: "{{ uuid }}" + uuid: "{{ uuid | default('') }}" + name: "{{ name | default('') }}" timeout: "{{ inspection_wait_timeout }}" delegate_to: localhost