Open pantelis-karamolegkos opened 9 months ago
@geerlingguy does it have to do maybe with this commit? was the initial name of the list file download_docker_com_linux_ubuntu.list
Hey @pantelis-karamolegkos I had the same issue and fixed it here https://github.com/geerlingguy/ansible-role-docker/pull/436 do you mind trying it out to see if it works for you? You first need to run
sudo rm /etc/apt/sources.list.d/docker.list
sudo rm /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list
in the respective environment
@kawadeomkar yes I tried that and it did solve the issue; I believe the problem relates to what I said in my last comment, i.e. to the renaming of the source file (although not 100% sure)
@pantelis-karamolegkos Yes I believe so as well. Not entirely sure but with the commit you mentioned, this addition:
docker_apt_filename: "docker"
I think may have caused the inconsistency with the Signed-by
field. Previously it was named download_docker_com_linux_ubuntu
but it is named docker
now - so if you had run a previous version of this role you
would get this error.
Is there a plan to make it backwards compatible or to pin this issue? All I had to do was remove those files but I use Ansible to avoid touching my servers.
Looks like the change was intentional, and some notes were added to the README.md
here (emphasis mine):
docker_apt_filename
controls the name of the source list file created insources.list.d
. If you are upgrading from an older (<7.0.0) version of this role, you should change this to the name of the existing file (e.g.download_docker_com_linux_debian
on Debian) to avoid conflicting lists.
I read through the whole diff before upgrading, yet still missed this :)
Perhaps a CHANGELOG.md
or some other lightweight Migrating from v#
in the README.md
would help users to catch these types of issues before upgrading?
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
I am installing the role as follows
where
and then invoking it
This fails with the following error
ansible
runs on the following machineAny suggestions?