diff --git a/tasks/main.yml b/tasks/main.yml index 5bcc27a..53cdd5a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,7 @@ - name: Ensure docker repository is available 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 notify: Update apt cache @@ -31,6 +31,7 @@ - docker-ce - docker-ce-cli - containerd.io + - docker-compose-plugin state: present - name: Configure docker daemon