From 8e9be2b990982401f127262beafe89c034871520 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 24 Dec 2023 14:07:09 +0100 Subject: [PATCH] [CI] Manually download collection --- .drone.yaml | 2 +- Dockerfile.linux.amd64 | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yaml b/.drone.yaml index 17ebeea..d0f67c9 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -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' diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index 2736661..b4ab6d6 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -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