mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-25 00:54:40 +03:00
Support fedora
This commit is contained in:
parent
dd0c6e0f8e
commit
b6f6b1b66c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user