mirror of
https://github.com/luzifer-ansible/docker.git
synced 2024-12-22 17:01:16 +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_configure_ipv6: true
|
||||||
|
|
||||||
#docker_auth_config:
|
#docker_auth_config:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue