Support fedora

This commit is contained in:
Stephen Benjamin 2018-02-02 10:54:16 -05:00
parent dd0c6e0f8e
commit b6f6b1b66c
No known key found for this signature in database
GPG Key ID: EFE3B2983FB2C743

View File

@ -13,7 +13,7 @@ docker_compose_path: /usr/local/bin/docker-compose
docker_apt_release_channel: stable docker_apt_release_channel: stable
docker_apt_repository: "deb https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}" docker_apt_repository: "deb https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
# Used only for RedHat/CentOS. # Used only for RedHat/CentOS/Fedora
docker_yum_repo_url: https://download.docker.com/linux/centos/docker-{{ docker_edition }}.repo docker_yum_repo_url: https://download.docker.com/linux/{{ (ansible_distribution == "Fedora")|ternary("fedora","centos") }}/docker-{{ docker_edition }}.repo
docker_yum_repo_enable_edge: 0 docker_yum_repo_enable_edge: 0
docker_yum_repo_enable_test: 0 docker_yum_repo_enable_test: 0