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
This commit is contained in:
RedKrieg 2023-06-03 07:12:04 -04:00 committed by GitHub
parent 35c6790fc8
commit c24e8a7137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'