Prise en compte dynamique de l'OS.

This commit is contained in:
William 2021-12-22 17:01:08 +01:00
parent a5e7d79e1a
commit 437c01ea97

View File

@ -21,7 +21,7 @@
- name: Add Docker Repository
apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
repo: "deb [arch=amd64] https://download.docker.com/{{ ansible_system | lower }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"
state: present
- name: Update apt and install docker-ce