make the deb repo autoconfigure aka use the ansible_distribution and ansible_distribution_release vars
This commit is contained in:
parent
a4896cac33
commit
03a6c15cbd
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- name: Ensure docker repository is available
|
- name: Ensure docker repository is available
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb https://download.docker.com/linux/debian buster stable
|
repo: deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable
|
||||||
state: present
|
state: present
|
||||||
notify: Update apt cache
|
notify: Update apt cache
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue