Reduce tasks for updating plan parameters
We can update the RootStackName and temp urls in one task. Change-Id: I0dda9fb6997d192da004e376bad747f6aa091a9c
This commit is contained in:
parent
aae2795172
commit
361976feee
|
@ -71,14 +71,6 @@
|
||||||
container: "{{ container }}"
|
container: "{{ container }}"
|
||||||
with_roledata: false
|
with_roledata: false
|
||||||
|
|
||||||
- name: Add root stack name
|
|
||||||
tripleo_plan_parameters_update:
|
|
||||||
container: "{{ container }}"
|
|
||||||
parameters:
|
|
||||||
RootStackName: "{{ container }}"
|
|
||||||
parameter_key: parameter_defaults
|
|
||||||
validate: false
|
|
||||||
|
|
||||||
- name: Get backup tempurl for GET
|
- name: Get backup tempurl for GET
|
||||||
tripleo_swift_tempurl:
|
tripleo_swift_tempurl:
|
||||||
container: "{{container + 'swift-rings' }}"
|
container: "{{container + 'swift-rings' }}"
|
||||||
|
@ -93,10 +85,11 @@
|
||||||
method: PUT
|
method: PUT
|
||||||
register: backup_put_tempurl
|
register: backup_put_tempurl
|
||||||
|
|
||||||
- name: Update plan with backup tempurl parameters
|
- name: Update plan with root stack and backup tempurl parameters
|
||||||
tripleo_plan_parameters_update:
|
tripleo_plan_parameters_update:
|
||||||
container: "{{ container }}"
|
container: "{{ container }}"
|
||||||
parameters:
|
parameters:
|
||||||
|
RootStackName: "{{ container }}"
|
||||||
SwiftRingGetTempurl: "{{ backup_get_tempurl.tempurl }}"
|
SwiftRingGetTempurl: "{{ backup_get_tempurl.tempurl }}"
|
||||||
SwiftRingPutTempurl: "{{ backup_put_tempurl.tempurl }}"
|
SwiftRingPutTempurl: "{{ backup_put_tempurl.tempurl }}"
|
||||||
parameter_key: parameter_defaults
|
parameter_key: parameter_defaults
|
||||||
|
|
Loading…
Reference in New Issue