diff --git a/defaults/main.yml b/defaults/main.yml index 8d66047..32297f2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -12,6 +12,7 @@ docker_restart_handler_state: restarted # Docker Compose options. docker_install_compose: true docker_compose_version: "1.26.0" +docker_compose_url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64 docker_compose_path: /usr/local/bin/docker-compose # Used only for Debian/Ubuntu. Switch 'stable' to 'nightly' if needed. diff --git a/tasks/docker-compose.yml b/tasks/docker-compose.yml index 92cf4f2..27c788b 100644 --- a/tasks/docker-compose.yml +++ b/tasks/docker-compose.yml @@ -15,6 +15,6 @@ - name: Install Docker Compose (if configured). get_url: - url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64 + url: "{{ docker_compose_url }}" dest: "{{ docker_compose_path }}" mode: 0755