CI: Fix kayobe-tox-molecule job
When molecule runs, it installs ansible>2.8, which is version 2.10.0 since today. This now also installs the ansible-base package, currently at version 2.10.1. Then it installs the version of ansible required by kayobe, i.e. ansible>=2.8.0,<2.10.0 (currently 2.9.13). We end up with a tox molecule venv containing: ansible==2.9.13 ansible-base==2.10.1 This causes the following issue: ERROR! Unexpected Exception, this is probably a bug: cannot import name 'AnsibleCollectionLoader' from 'ansible.utils.collection_loader' (/home/zuul/src/opendev.org/openstack/kayobe/.tox/molecule/lib/python3.8/site-packages/ansible/utils/collection_loader/__init__.py) This commit adds requirements.txt to the molecule tox deps, which ensures the correct version of ansible gets installed first. Change-Id: I7ef890a2ae6fd67f53e1b8bca244a1c0d44fea53
This commit is contained in:
parent
b778ac01cf
commit
c585554988
Loading…
Reference in New Issue
Block a user