diff options
Diffstat (limited to 'roles/docker')
-rw-r--r-- | roles/docker/engine/defaults/main.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/roles/docker/engine/defaults/main.yml b/roles/docker/engine/defaults/main.yml index b2c21963..a476bda1 100644 --- a/roles/docker/engine/defaults/main.yml +++ b/roles/docker/engine/defaults/main.yml @@ -1,9 +1,12 @@ --- -docker_pkg_provider: distro -docker_pkg_name: docker.io +_docker_pkg_name_map_: + distro: docker.io + docker-com: docker-ce +docker_pkg_provider: distro # docker_pkg_provider: docker-com -# docker_pkg_name: docker-ce + +docker_pkg_name: "{{ _docker_pkg_name_map_[docker_pkg_provider] }}" # docker_pkg_version: |