Pass name to os_ironic and os_ironic_node modules

The original playbooks did not pass the name field, and since UUID
is essentially optional on the initial request, this change ensures
that name, if available, is added, and passed into the ironic
ansible modules.

Change-Id: I860d9377a411f398f6fe0c47035e0de2330a137b
Depends-On: I23e902c8637e142fba23d71467225d48ee265253
Partial-Bug: #1499057
This commit is contained in:
Julia Kreger 2015-09-26 08:14:50 -04:00
parent e51de22084
commit 59cd99261a
3 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,8 @@
auth_type: None
auth: None
ironic_url: "{{ ironic_url }}"
uuid: "{{ uuid }}"
uuid: "{{ uuid | default() }}"
name: "{{ name | default() }}"
state: absent
instance_info: "{}"
delegate_to: localhost

View File

@ -18,7 +18,8 @@
auth: None
ironic_url: "{{ ironic_url }}"
driver: ""
uuid: "{{ uuid }}"
uuid: "{{ uuid | default() }}"
name: "{{ name | default() }}"
state: absent
nics: "{{ nics }}"
driver_info: "{}"

View File

@ -18,7 +18,8 @@
auth: None
ironic_url: "{{ ironic_url }}"
driver: "{{ driver }}"
uuid: "{{ uuid }}"
uuid: "{{ uuid | default() }}"
name: "{{ name | default() }}"
state: present
nics: "{{nics}}"
properties: "{{ properties }}"