geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.84k stars 857 forks source link

Fails on Ubuntu 20.04.5 LTS with no pip package available #398

Closed bugaian closed 1 year ago

bugaian commented 1 year ago

Hi,

I have this on Ubuntu 20.04.5 LTS>

TASK [geerlingguy.pip : Ensure Pip is installed.] *** task path: /home/ansible/.ansible/roles/geerlingguy.pip/tasks/main.yml:2 fatal: [ec2-3-64-8-177.eu-central-1.compute.amazonaws.com]: FAILED! => {"changed": false, "msg": "No package matching 'python3-pip' is available"}

PLAY RECAP ** ec2-3-64-8-177.eu-central-1.compute.amazonaws.com : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

bugaian commented 1 year ago

Looks like I fixed it by adding this> update_cache: yes under your Ensure pip is installed task.

stale[bot] commented 1 year ago

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.

github-actions[bot] commented 1 year ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.