mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-03-02 00:15:41 +01:00
fix: issue with #470 fix
This patch ensures that the correct filename is specified based on the distribution. Observed this behaviour on a Debian system, the old file was not removed due to it being hardcoded to ubuntu instead.
This commit is contained in:
parent
1800d2e793
commit
d490bcea4c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user