Fixes #5: Switch to new Docker CE and EE repo layout.

This commit is contained in:
Jeff Geerling
2017-05-09 21:36:53 -05:00
parent 3ae29c13ab
commit a220d54d4a
4 changed files with 48 additions and 16 deletions

View File

@@ -1,13 +1,18 @@
---
docker_package: "docker-engine"
# Edition can be one of: 'ce' (Community Edition) or 'ee' (Enterprise Edition).
docker_edition: 'ce'
docker_package: "docker-{{ docker_edition }}"
# Docker Compose options.
docker_install_compose: true
docker_compose_version: "1.13.0"
docker_compose_path: /usr/local/bin/docker-compose
# 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"
# Used only for Debian/Ubuntu. Switch 'stable' to 'edge' if needed.
docker_apt_release_channel: stable
docker_apt_repository: "deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
# Used only for RedHat/CentOS.
docker_yum_repo_version: 'main' # 'testing', 'beta', 'nightly'
docker_yum_repo_url: https://download.docker.com/linux/centos/docker-{{ docker_edition }}.repo
docker_yum_repo_enable_edge: 0
docker_yum_repo_enable_test: 0