Apart from installing python 2.7, you need to manually symlink:
ln -s /usr/bin/python2.7 /usr/bin/python
At least ansible 1.9, searchs for exactly ‘/usr/bin/python’ path.
Javier Palacios
Apart from installing python 2.7, you need to manually symlink:
ln -s /usr/bin/python2.7 /usr/bin/python
At least ansible 1.9, searchs for exactly ‘/usr/bin/python’ path.
Javier Palacios
Eh,
Ansible hosts database allows to configure that via
`ansible_python_interpreter`.
e.g.
host_with_custom_python_2 ansible_host=1.2.3.4 ansible_python_interpreter=/usr/local/bin/python2
See: http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-inventory-parameters
# kraM
PS: No need to maddle with symlinks...