Ansible installation without internet

Hi All,

I am trying to install Ansible on my Ubuntu16.04 version, the path that I can think of is to first install the Python Jinja2 package and then set the source for the Ansible installation file. I have googled it and didn’t find any good useful resources. Can someone please suggest a tutorial that explains on how we can install it.

Thanks,
Abhinav

Download the Ansible deb-packages, and Ansible 2.2.1 depends on these packages so you would need to download them also.

$ apt show ansible|grep Depends
Depends: python-jinja2, python-yaml, python-paramiko, python-httplib2, python-six, python-crypto (>= 2.6), python-setuptools, sshpass, python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)