Hi there,
I recently used Ansible successfully on a machine with enternet access.
I am now trying to use Ansible on a Linux master server that is completely locked down(no internet access at all)
So I have downloaded a tarball from releases.ansible.com, and looked at “running form source” to get instructions to continue, without success.
the page just mentioned suggests the following command:
source ./hacking/env-setup
…but neither ./hacking nor env-setup exists
Any one out there that could help me out here?
Kind Regards
Hubrecht
It’s probably a better idea to download an RPM (or deb) for your distro, or the pip package, and install those.
Then you don’t need to run the ‘env-setup’ script.
Running ‘make install’ in the extracted directory you have now should also suffice.
Mark,
I’ve been looking around for an RPM or pip package with all the dependencies wrapped in together. I have five RH6 servers on an isolated/closed network. I’ve, like Hubrecht, attempted to use the tarball to no avail. I’m getting an error about when the installation script (setup.py) tries to fetch pycrypto.
Any ideas?
It’s usually not a great practice to bundle an RPM and all its deps. If you need an offline install, I’d recommend downloading the necessary RPMs (anisble, pycrypto, paramiko) and using either yum localinstall
or rpm -i
on the airgapped machines.
Hi All,
There is no internet in linux server , would you please suggest how to install ansible on linux server .
Anybody found out a solution for a no-internet-installation ???
I’m facing the same problem. I want to install ansible on a SLES 12sp3 server with absolutly no external access…
I have fetched a tarbal of the current installation (ansible 2.6.2) but I dont’ know what’s the other stuff ansible need to work (dependencies) ?
The ideal would be to have a static package (a snap ?) that one can install and not disturb anything on the original server.
Regards,
BT