[CI] Manually download collection
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Cornet 2023-12-24 14:07:09 +01:00
parent 6e086b70f6
commit 8e9be2b990
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ steps:
registry: 'cr.simoncor.net'
cache_from: 'siempie/ansible-deployment'
repo: 'cr.simoncor.net/siempie/ansible-deployment'
mtu: '1400'
mtu: '1440'
# build stuff
dockerfile: 'Dockerfile.linux.amd64'

View File

@ -36,8 +36,11 @@ RUN pip3 install --use-pep517 --ignore-installed --break-system-packages \
ansible-lint==${ANSIBLE_LINT_VERSION} \
yamllint==${YAMLLINT_VERSION}
# download collections
RUN wget https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/ansible-posix-1.5.4.tar.gz /tmp/ansible-posix.tar.gz
# install ansible collections
RUN ansible-galaxy collection install ansible.posix
RUN ansible-galaxy collection install /tmp/ansible-posix.tar.gz
RUN ansible-galaxy collection install community.docker
RUN ansible-galaxy collection install community.general
RUN ansible-galaxy collection install community.mysql