We are planning to install and configure Ansible on production server. As I have search on internet. I got few link which says to configure EPEL repo on server. On PROD server, We can’t provide internet access.
Is there any other way to install Ansible offline ? I will prefer tar file means install ansible by compile base. Or we can install ansible rpm.
I have faced few difficulties i.e. I am not getting all rpm which is necessary to install ansible [ dependencies error ]. Even, I got ansible tar file link. But, I am not getting any steps to install it.
Hi Rajesh ansible is available in epel repo in your case create local repository for epel (use rsync to sync all the packages form epel to your local server) and use ftp or nfs or httpd any of service for publishing the created repository.
look at the below link for creating local repository
I found below steps works smoothly. You need to replace <> with your own URL and port number. For example, my.proxyserver.com:80. And set your Ansible version number you want in place ansible=2.6
pip install --upgrade --proxy <> pip
pip install --proxy <> ansible==2.6
which ansible
which ansible-playbook