Use job's featureset_override directly

featureset_override_file_output contain some additional vars
like standalone_custom_env_files.
To reproduce a job we want to have same set of override's
given in a job so let's use job.featureset_override instead, if
standalone_environment_files is part of featureset_override
then standalone_custom_env_files will be calculated within
standalone role.

Closes-Bug: #1897155
Change-Id: I7dbd8f1e34cabd41504150c886cbe9ff166b50ea
This commit is contained in:
yatinkarel 2020-09-25 17:38:18 +05:30
parent 2f335749c9
commit fa93a6a3bc
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@
{% endif -%}
registry_login_enabled: false
featureset_override:
{% if featureset_override_file_output is defined -%}
{{ featureset_override_file_output | indent(14) }}
{% if job.featureset_override is defined -%}
{{ job.featureset_override | to_nice_yaml | indent(14) }}
{% endif -%}
{% if releases_file_output is not defined -%}
{% if dlrn_hash is defined or ('undercloud' in hostvars and 'dlrn_hash' in hostvars['undercloud']) -%}