Skip to content
Snippets Groups Projects
Commit 7c37922f authored by Andrew Lukoshko's avatar Andrew Lukoshko
Browse files

Use ansible_distribution_release instead of ansible_lsb.codename

ansible_lsb.codename fact needs lsb-release package installed but it absent in Debian 10 minimal install.
It's better to use ansible_distribution_release fact which contain the same value and don't need extra packages.

Change-Id: Ifda71047ab041b4b9838e3480d6a301a43c1c156
parent 520abc88
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ enable_docker_repo: true
# Docker APT repository configuration.
docker_apt_url: "https://download.docker.com/linux/{{ ansible_distribution | lower }}"
docker_apt_repo: "deb {{ docker_apt_url }} {{ ansible_lsb.codename }} stable"
docker_apt_repo: "deb {{ docker_apt_url }} {{ ansible_distribution_release }} stable"
docker_apt_key_file: "gpg"
docker_apt_key_id: "0EBFCD88"
docker_apt_package: "docker-ce"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment