Open dwebr opened 9 months ago
An update to this ... the /etc/ansible directory did exist, it was not readable by my user. Linux admin, added read permission and galaxy and the f5 modules appear to work. Still why the dependency on /etc/ansible, where is this defined, its not in my ansible.cfg anywhere.
Bug Report
SUMMARY
Ansible is not installed on host, so /etc/ansible does not exist. Ansible is installed in python virtual environment using pip install ansible Using ansible-galaxy to install collections fails with [Errno 13] Permission denied: '/etc/ansible' On a previous bastion servers (Redhat7), ansible was installed on the host but never actually used, we always run within a virtual environment. On the new bastion server, ansible was not installed which we didn't think would be a problem since it is not used directly, but found some collections and ansible-galaxy appear to rely on /etc/ansible
STEPS TO REPRODUCE
1.) activate virtual environment 2.) attempt to use ansible-galaxy to install collection
EXPECTED RESULTS
I expect the collection to be installed in ~/.ansible/collections
ACTUAL RESULTS
I get the error