I am in need of assistance in upgrading Ansible to version 2.0. Every time I attempt to install I get the 1.7.2 version. I have about 10 windows vm machines that I am looking to manage with the Ansible application and it is my understanding that 2.0 is more friendly to windows then previous version. Any help you can offer would be greatly appreciated. I have attached a screen shot of the version number.
Can I use something similar to create package for RedHat Linux? I have the problem that the machine inside the network that I want to use as a master, doesn’t have internet, so I will probably need to create a package(preferably rpm) to install this, but as a Solaris man, I struggle to find a way on the ansible docs. Could you possibly point me in the correct direction?
Not sure about RedHat, but for CentOS 7 you may use the similar operations
$ git clone --recursive --branch v2.0.2.0-1 https://[github.com/ansible/ansible.git](http://github.com/ansible/ansible.git) $ cd ansible && make rpm $ sudo rpm -ivh rpm-build/ansible*centos.noarch.rpm
Oops!
error: Failed dependencies:
python-httplib2 is needed by ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
python-keyczar is needed by ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
python-paramiko is needed by ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
sshpass is needed by ansible-2.0.2.0-0.git201604192124.24d9e5e.HEAD.el7.centos.noarch
We need to install EPEL repository and using yum localinstall in order to avoid broken dependencies
Looks like you trying to install it on Debian 8 where only Ansible 1.7.2 is on the standard repos.
You’d tried to add Ubuntu repos and that will not help