fix: grab dependencies from github to avoid galaxy timeouts

Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
gardar 2023-03-02 03:16:49 +00:00
parent 0c7854ffcb
commit 3a8e8b5145
No known key found for this signature in database
GPG key ID: 00872BAF59D98753
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,6 @@
---
collections:
- community.general
- community.crypto
- name: https://github.com/ansible-collections/community.general.git
type: git
- name: https://github.com/ansible-collections/community.crypto.git
type: git

View file

@ -25,7 +25,7 @@ if [ "$(printf '%s\n' "2.12" "$ansible_version" | sort -V | head -n1)" = "2.12"
python -m pip install molecule molecule-plugins[docker]
else
python -m pip install molecule molecule-docker
ansible-galaxy collection install community.docker
ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git
ansible-galaxy collection install -r "$collection_root/requirements.yml"
fi