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:
parent
e51de22084
commit
59cd99261a
@ -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
|
||||
|
@ -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: "{}"
|
||||
|
@ -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 }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user