mirror of
https://github.com/luzifer-ansible/docker.git
synced 2024-11-08 13:50:10 +00:00
Allow release channel to be configured
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
be5c9f62ce
commit
1cda6fe816
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
|
||||
docker_channel: stable # one of: stable, test, edge, nightly
|
||||
|
||||
docker_configure_ipv6: true
|
||||
|
||||
#docker_auth_config:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue