Pass distro to tripleo_container_image_build role
For downstream usecase, we need to properly set distro flag in "openstack tripleo container image build" command. By default, If we don't pass --distro flag centos is default[1] [1] https://opendev.org/openstack/python-tripleoclient/src/branch/master/tripleoclient/v2/tripleo_container_image.py#L107 Closes-Bug: #1945163 Change-Id: I39fed3d952fe2dc1aaf530991c0c26237d043feb
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
tripleo_container_image_build_base: "{{ containers_base_image }}"
|
||||
tripleo_container_image_build_excludes: "{{ exclude_containers[branch]|default([]) }}"
|
||||
tripleo_container_image_build_tcib_extras: "{{ tcib_extras | default([]) }}"
|
||||
tripleo_container_image_build_distro: "{{ (ansible_distribution == 'RedHat') | ternary('rhel', 'centos') }}"
|
||||
|
||||
- name: Pull and push non *tripleo* container images to local registry
|
||||
import_tasks: non_tripleo_containers.yml
|
||||
|
||||
Reference in New Issue
Block a user