install docker compose
This commit is contained in:
parent
e3506d0ba7
commit
90de14ae96
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
- name: Add docker repo
|
- name: Add docker repo
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb [arch=amd64] https://download.docker.com/linux/debian buster stable
|
repo: deb [arch=amd64] https://download.docker.com/linux/debian buster stable
|
||||||
|
# TODO replace by "... /linux/debian $(lsb_release -cs) stable"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
|
@ -20,3 +21,10 @@
|
||||||
register: apt_result
|
register: apt_result
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
- name: Install docker-compose
|
||||||
|
get_url:
|
||||||
|
url: https://github.com/docker/compose/releases/download/1.28.0/docker-compose-Linux-x86_64
|
||||||
|
# TODO: replace by "...1.28.0/docker-compose-$(uname -s)-$(uname -m)"
|
||||||
|
dest: /usr/local/bin/docker-compose
|
||||||
|
mode: '0755'
|
||||||
|
|
Loading…
Reference in a new issue