mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-23 19:06:54 +01:00
Fixes #1: Add Docker Compose.
This commit is contained in:
parent
14a90bfa3a
commit
cdb27879e7
@ -1,6 +1,10 @@
|
||||
---
|
||||
docker_package: "docker-engine"
|
||||
|
||||
# Docker Compose options.
|
||||
docker_install_compose: true
|
||||
docker_compose_version: "1.11.2"
|
||||
|
||||
# Used only for Debian/Ubuntu. Add 'testing' if you don't want stable.
|
||||
docker_apt_repository: "deb https://apt.dockerproject.org/repo {{ ansible_distribution|lower }}-{{ ansible_distribution_release }} main"
|
||||
|
||||
|
@ -13,3 +13,10 @@
|
||||
name: docker
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Install Docker Compose (if configured).
|
||||
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
|
||||
when: docker_install_compose
|
||||
|
Loading…
Reference in New Issue
Block a user