From 041f450f1edd6eccceba2ce4fb5dfff0af7a07e5 Mon Sep 17 00:00:00 2001 From: Matan Horovitz Date: Fri, 24 Nov 2023 17:01:13 +0200 Subject: [PATCH] Delay Python Docker modules installation --- .gitea/workflows/traefik.yaml | 2 +- docker.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/traefik.yaml b/.gitea/workflows/traefik.yaml index ecdb78d..23ed0dd 100644 --- a/.gitea/workflows/traefik.yaml +++ b/.gitea/workflows/traefik.yaml @@ -19,7 +19,7 @@ jobs: - name: Install Ansible run: | python3 -m pip install --upgrade pip - pip install ansible docker docker-compose + pip install ansible - name: Set up SSH uses: webfactory/ssh-agent@v0.5.0 diff --git a/docker.yaml b/docker.yaml index d67fe7b..83603cb 100644 --- a/docker.yaml +++ b/docker.yaml @@ -51,3 +51,10 @@ name: containerd state: started enabled: yes + +- name: Install Docker Python modules + ansible.builtin.pip: + name: + - docker + - docker-compose + state: latest