0
So I have been trying to install Ansible for some server management however it seems that yum and pip both don't want to co-operate:
- I tried a yum install which refuses to work because it cant seem to find any more repo's for babel/jinja2.
- pip installation works, however it left me without any
Ansible.cfg
file, or any/etc/Ansible
directory at all. It seems to have installed it to the python 2.7 directory which is showing python configuration files but not anything to do with the standard Ansible configuration files that I have been seeing in the documentation.
Questions:
- Is there any work around for this, or is there any way to just use Ansible through python directly (meaning update inventory lists and create playbooks that would I guess be saved to pythons directory?).
- Also is there a way to force yum to install Ansible regardless of the jinja2/babel dependencies so I can at least work on creating my first few playbooks and getting familiar with the basics?
I'm not sure if these packages are necessary to Ansible operations and if it would create a dependency loop issue when trying to later install/update. Please go easy as I am new and trying to learn more about the capabilities of Ansbile. Os is RHEL 7.5 btw, and no it doesn't have a subscription I've been using EPEL which doesn't seem to work!
Would CentOS be using Epel repositories in order to try to install it? I have tried using Epel Repo's but the dependency error's i'm getting seem to stem from Python-Jinja2. There are 2 other Python packages that rely on Python-Jinja2 and even if I serperately install them with pip, it shows a dependency error through yum for all packaged because of Jinja2.. I am writing about this in response because even through Epel repo's the issue seems to persist..I have read somewhere that there was an issue going on with Ansible /yum dvd repo/epel repo as sources. Thanks for your input! – RickwhoPrograms – 2018-09-17T15:27:21.070