* 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:
parent
35c6790fc8
commit
c24e8a7137
1 changed files with 5 additions and 9 deletions
14
lemmy.yml
14
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'
|
||||
|
|
Loading…
Reference in a new issue