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:
Takashi Kajinami 2020-06-23 21:34:22 +09:00
parent f9ed14f58c
commit a2632456c1
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@
container: overcloud
source_url: null
generate_passwords: true
disable_image_params_prepare: false
plan_environment: plan-environment.yaml
default_templates_dir: '/usr/share/openstack-tripleo-heat-templates/'
use_default_templates: false
@ -106,6 +107,7 @@
tripleo_image_params_prepare:
container: "{{ container }}"
with_roledata: false
when: not (disable_image_params_prepare | bool)
- name: Add root stack name
tripleo_plan_parameters_update:

View File

@ -24,6 +24,7 @@
container: overcloud
generate_passwords: true
reset_passwords: false
disable_image_params_prepare: false
hide_sensitive_logs: true
tasks:
@ -39,6 +40,7 @@
tripleo_image_params_prepare:
container: "{{ container }}"
with_roledata: false
when: not (disable_image_params_prepare | bool)
- name: Get backup tempurl for GET
tripleo_swift_tempurl: