docker: use ansible_distribution_release

This commit is contained in:
Markus 2021-08-16 17:15:15 +02:00
parent 29cc08a8be
commit 9c9258863a

View File

@ -5,7 +5,7 @@
- name: Enable docker repository
apt_repository:
repo: 'deb https://download.docker.com/linux/debian buster stable'
repo: 'deb https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable'
filename: docker
- name: Install docker