Allow release channel to be configured

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-05-22 15:35:54 +02:00
parent be5c9f62ce
commit 1cda6fe816
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
--- ---
docker_channel: stable # one of: stable, test, edge, nightly
docker_configure_ipv6: true docker_configure_ipv6: true
#docker_auth_config: #docker_auth_config:

View file

@ -12,7 +12,7 @@
- name: Activate apt-repo - name: Activate apt-repo
apt_repository: 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 state: present
- name: Install docker - name: Install docker