Allow disabling image_params_prepare task
This patch introduces a new parameter, disable_image_params_prepare, to plan management tasks, so that operators can disable the task to prepare image parameters during overcloud deployment. This is useful when operators use an environment file to list all container images with explicit tags used in deployment. Related-Bug: #1896757 Change-Id: I278299f8f20c6b70eb3f26780f7454319059a12f
This commit is contained in:
parent
f9ed14f58c
commit
a2632456c1
@ -24,6 +24,7 @@
|
|||||||
container: overcloud
|
container: overcloud
|
||||||
source_url: null
|
source_url: null
|
||||||
generate_passwords: true
|
generate_passwords: true
|
||||||
|
disable_image_params_prepare: false
|
||||||
plan_environment: plan-environment.yaml
|
plan_environment: plan-environment.yaml
|
||||||
default_templates_dir: '/usr/share/openstack-tripleo-heat-templates/'
|
default_templates_dir: '/usr/share/openstack-tripleo-heat-templates/'
|
||||||
use_default_templates: false
|
use_default_templates: false
|
||||||
@ -106,6 +107,7 @@
|
|||||||
tripleo_image_params_prepare:
|
tripleo_image_params_prepare:
|
||||||
container: "{{ container }}"
|
container: "{{ container }}"
|
||||||
with_roledata: false
|
with_roledata: false
|
||||||
|
when: not (disable_image_params_prepare | bool)
|
||||||
|
|
||||||
- name: Add root stack name
|
- name: Add root stack name
|
||||||
tripleo_plan_parameters_update:
|
tripleo_plan_parameters_update:
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
container: overcloud
|
container: overcloud
|
||||||
generate_passwords: true
|
generate_passwords: true
|
||||||
reset_passwords: false
|
reset_passwords: false
|
||||||
|
disable_image_params_prepare: false
|
||||||
hide_sensitive_logs: true
|
hide_sensitive_logs: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
@ -39,6 +40,7 @@
|
|||||||
tripleo_image_params_prepare:
|
tripleo_image_params_prepare:
|
||||||
container: "{{ container }}"
|
container: "{{ container }}"
|
||||||
with_roledata: false
|
with_roledata: false
|
||||||
|
when: not (disable_image_params_prepare | bool)
|
||||||
|
|
||||||
- name: Get backup tempurl for GET
|
- name: Get backup tempurl for GET
|
||||||
tripleo_swift_tempurl:
|
tripleo_swift_tempurl:
|
||||||
|
Loading…
Reference in New Issue
Block a user