Hello All,
Before upgrading the Ansible version is 2.1.2. After using yum to update the Ansible package, the version still states 2.1.2?? What am missing? Did I do something wrong here?
Thx
Al
[allan@SDNAUTOS02 ~]$ ansible --version
ansible 2.1.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = [‘/etc/ansible/roles/Juniper.junos/library’]
[allan@SDNAUTOS02 ~]$
Found the problem. This system actually has 2 versions of Ansible installed … Does anyone know why the first one states the “python version” but the second one does not?
[allan@SDNAUTOS02 my-ansible]$ /usr/bin/ansible --version
ansible 2.3.0.0
config file = /home/allan/my-ansible/ansible.cfg
configured module search path = [u’/etc/ansible/roles/Juniper.junos/library’]
python version = 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
[allan@SDNAUTOS02 my-ansible]$ /usr/local/bin/ansible --version
ansible 2.1.2.0
config file = /home/allan/my-ansible/ansible.cfg
configured module search path = [‘/etc/ansible/roles/Juniper.junos/library’]
[as2863@SDNAUTOS02 my-ansible]$
New feature in newer Ansible.