diff --git a/roles/build-containers/templates/tripleo-build.sh.j2 b/roles/build-containers/templates/tripleo-build.sh.j2 index c73b95042..6352fe440 100644 --- a/roles/build-containers/templates/tripleo-build.sh.j2 +++ b/roles/build-containers/templates/tripleo-build.sh.j2 @@ -92,7 +92,7 @@ openstack tripleo container image build \ --tcib-extra tcib_release={{ ansible_distribution_major_version }} \ --tcib-extra tcib_python_version={{ (ansible_distribution_major_version is version('9', '<')) | ternary ('3.6', '3.9') }} \ {% endif %} -{% if tcib_extra_config is defined %} +{% if (tcib_extra_config is defined) and (release|default(branch) not in ["train"]) %} --extra-config {{ workspace }}/extra_config.yaml \ {% endif %} --debug