Add RHEL/UBI 9 as a supported distros for tripleo-repos

https://review.opendev.org/c/openstack/tripleo-ansible/+/839688
moves the molecule job to use ubi9 image.

The molecule jobs are failing with missing packages as repos
are not properly configured.
Adding support for the same fixes the issue.

Bumping ansible version (which is supported in CI ) under tox.ini,
as latest version of ansible-2.13 broke the sanity job.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I71572446cc8edb9f0bce3368fb03e4f2d3488801
This commit is contained in:
Chandan Kumar (raukadah) 2022-06-01 10:53:13 +05:30
parent c2e8943839
commit 4c22ed1aeb
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ SUPPORTED_DISTROS = [
('centos', '9'),
('fedora', ''),
('rhel', '8'),
('ubi', '8') # a subcase of the rhel distro
('rhel', '9'),
('ubi', '8'),
('ubi', '9') # a subcase of the rhel distro
]
DISTRO_CHOICES = ["".join(distro_pair)
for distro_pair in SUPPORTED_DISTROS]