I have a playbook that references a requirements file to download that certain collections are available. When I run the playbook I get an name resolution error however I can still ping galaxy.ansible.com. I have tried increasing the timeout period but I still get the same error. I tested this out in a command prompt and I seem to get the same output as when I run the playbook. This happens with any collection I use. I can’t figure out if there is something wrong with my set up or if there is an issue external to me that is causing this.
Output form Command prompt:
$ ansible-galaxy collection install freeipa.ansible_freeipa
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/freeipa-ansible_freeipa-1.17.0.tar.gz to /home/ansi-admin/.ansible/tmp/ansible-local-9501m44wn9ls/tmpk3iqxq4g/freeipa-ansible_freeipa-1.17.0-rh5glwpk
[ERROR]: Failed to download collection tar from 'default': <urlopen error [Errno -3] Temporary failure in name resolution>
Failed to download collection tar from 'default': <urlopen error [Errno -3] Temporary failure in name resolution>
<<< caused by >>>
<urlopen error [Errno -3] Temporary failure in name resolution>