Use Ansible OpenStack collection <2.0.0 for RHOS releases

Closes-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2137166

Change-Id: I66bdb8f17263806e0acbbaf15af264c1ae75d12e
This commit is contained in:
Jakob Meng 2022-10-24 09:49:39 +02:00
parent b5340dc71b
commit 3caefb28ba
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ install_ansible_collections_deps(){
# [1] https://semver.org/
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=2109807
if [[ ! -d $VIRTUAL_ENV/share/ansible/collections/ansible_collections/openstack/cloud ]]; then
if [[ $QUICKSTART_RELEASE =~ .*(train|victoria|wallaby).* ]]; then
if [[ $QUICKSTART_RELEASE =~ .*(train|victoria|wallaby|rhos-16|rhos-17).* ]]; then
retry 10 ansible-galaxy collection install -vvv --force \
git+https://opendev.org/openstack/ansible-collections-openstack,stable/1.0.0 \
-p $VIRTUAL_ENV/share/ansible/collections