diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index a1c7d3e..2c4db41 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -6,7 +6,7 @@ - name: Ensure old apt source list is not present in /etc/apt/sources.list.d ansible.builtin.file: - path: /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list + path: "/etc/apt/sources.list.d/download_docker_com_linux_{{ docker_apt_ansible_distribution }}.list" state: absent - name: Ensure the repo referencing the previous trusted.gpg.d key is not present