docker: use ansible_distribution_release

This commit is contained in:
Markus 2021-08-16 17:14:55 +02:00
parent 77d9ebcd13
commit 43cf634b96

View File

@ -5,7 +5,7 @@
- name: Enable docker repository - name: Enable docker repository
apt_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 filename: docker
- name: Install docker - name: Install docker