diff --git a/defaults/main.yml b/defaults/main.yml index 33b1653..4d8e295 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,7 @@ --- +docker_channel: stable # one of: stable, test, edge, nightly + docker_configure_ipv6: true #docker_auth_config: diff --git a/tasks/main.yml b/tasks/main.yml index b28b324..0b7abd4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,7 +12,7 @@ - name: Activate apt-repo apt_repository: - repo: 'deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable' + repo: 'deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_channel }}' state: present - name: Install docker