diff --git a/test-ansible-collection-requirements.yml b/test-ansible-collection-requirements.yml new file mode 100644 index 00000000..3f142117 --- /dev/null +++ b/test-ansible-collection-requirements.yml @@ -0,0 +1,4 @@ +collections: + - name: openstack.cloud + version: 1.0.0 + source: https://galaxy.ansible.com diff --git a/test-ansible-env-prep.sh b/test-ansible-env-prep.sh index dd7dfe83..21724b27 100755 --- a/test-ansible-env-prep.sh +++ b/test-ansible-env-prep.sh @@ -211,6 +211,9 @@ fi # Install all python packages python -m pip install ${PIP_OPTS} +# Install all ansible collections +ansible-galaxy collection install -r ${COMMON_TESTS_PATH}/test-ansible-collection-requirements.yml + # Download the Ansible role repositories if they are not present on the host. # This is ignored if there is no ansible-role-requirements file. if [[ ! -d "${ANSIBLE_ROLE_DEP_DIR}" ]]; then