From 8ae2209ee1a6753646c6ef67b255327de4c0d615 Mon Sep 17 00:00:00 2001 From: Andrey Shestakov Date: Mon, 23 Jan 2017 19:13:01 +0200 Subject: [PATCH] Allow enroll node with empty properties. Make "properties" parameter empty by default. This may be helpful when node has unknown properties and inspections should be executed after enroll. Change-Id: I77a30cf5bd09ccbb233c55e6f8c4ee0072f8d147 --- playbooks/roles/ironic-enroll-dynamic/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml b/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml index 7377ea293..4072efc6d 100644 --- a/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml +++ b/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml @@ -43,7 +43,7 @@ name: "{{ name | default() }}" state: present nics: "{{nics}}" - properties: "{{ properties }}" + properties: "{{ properties | default({}) }}" driver_info: power: "{{ driver_info.power }}" deploy: