From c24e8a7137b852bb61ab9959c6110f3bcd99618e Mon Sep 17 00:00:00 2001 From: RedKrieg Date: Sat, 3 Jun 2023 07:12:04 -0400 Subject: [PATCH] Install latest docker/docker-compose via pip. Proposed as fix for #67 (#69) * Install latest docker/docker-compose via pip. Proposed as fix for #67 * Combine docker and docker-compose pip installs in to one task --- lemmy.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lemmy.yml b/lemmy.yml index 5fa5b74..67da53a 100644 --- a/lemmy.yml +++ b/lemmy.yml @@ -59,16 +59,12 @@ state: latest update_cache: true - - name: Install Docker Module for Python + - name: Install Docker Module and docker-compose for Python pip: - name: docker - - - name: Install or upgrade docker-compose - get_url: - url : "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-Linux-x86_64" - dest: /usr/local/bin/docker-compose - mode: 'a+x' - force: yes + name: + - docker + - docker-compose + state: latest - name: copy docker config copy: src='../files/docker-daemon.json' dest='/etc/docker/daemon.json' mode='0644'