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
This commit is contained in:
Andrey Shestakov 2017-01-23 19:13:01 +02:00
parent 1767bc4f9b
commit 8ae2209ee1

View File

@ -43,7 +43,7 @@
name: "{{ name | default() }}" name: "{{ name | default() }}"
state: present state: present
nics: "{{nics}}" nics: "{{nics}}"
properties: "{{ properties }}" properties: "{{ properties | default({}) }}"
driver_info: driver_info:
power: "{{ driver_info.power }}" power: "{{ driver_info.power }}"
deploy: deploy: