mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-05-24 01:15:45 +02:00
fix: lowercase distro name when removing apt source
This makes removal succeed when docker_apt_ansible_distribution is "Ubuntu".
This commit is contained in:
parent
acade8d01f
commit
047f7a163c
@ -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_{{ docker_apt_ansible_distribution }}.list"
|
||||
path: "/etc/apt/sources.list.d/download_docker_com_linux_{{ docker_apt_ansible_distribution | lower }}.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