diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c765b35..1b8a8a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: run: | pip install -r requirements.txt pip install -r molecule/requirements.txt + ansible-galaxy collection install -r requirements.yml --upgrade - name: Print configuration versions run: | diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f48ab73..6a4cf6b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -38,6 +38,7 @@ jobs: run: | pip install -r requirements.txt pip install -r molecule/requirements.txt + ansible-galaxy collection install -r requirements.yml --upgrade - name: Print configuration versions run: | diff --git a/galaxy.yml b/galaxy.yml index 6abf1b8..43e1b12 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -41,7 +41,7 @@ tags: # collection label 'namespace.name'. The value is a version range # L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version # range specifiers can be set and are separated by ',' -dependencies: {"openstack.cloud": ">=2.1.0,<2.2.0"} +dependencies: {"openstack.cloud": ">=2.2.0"} # The URL of the originating SCM repository repository: https://github.com/snowdrop/ansible-collection-cloud-infra diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..3bc5adf --- /dev/null +++ b/requirements.yml @@ -0,0 +1,5 @@ +--- +collections: + - name: openstack.cloud + version: ">=2.2.0" + source: https://galaxy.ansible.com