diff --git a/roles/docker/tasks/install-docker-io.yml b/roles/docker/tasks/install-docker-io.yml index ef51958..cc1b2c5 100644 --- a/roles/docker/tasks/install-docker-io.yml +++ b/roles/docker/tasks/install-docker-io.yml @@ -5,3 +5,10 @@ update_cache: yes pkg: - docker.io + +- name: Download docker-compose + become: yes + get_url: + url: https://github.com/docker/compose/releases/download/{{ docker.compose.version }}/docker-compose-Linux-x86_64 + dest: /usr/local/bin/docker-compose + mode: 0755 diff --git a/roles/docker/vars/main.yml b/roles/docker/vars/main.yml new file mode 100644 index 0000000..3c4856b --- /dev/null +++ b/roles/docker/vars/main.yml @@ -0,0 +1,4 @@ +--- +docker: + compose: + version: 1.26.0