On 16. okt. 2016 15:55, Henrik Bach wrote:
I've installed ansible on my ubuntu 16.04:
$ ansible --version
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
When I try to test whether ansible is able to connect with my test node, I
get this error:
I guess you test node is also Ubuntu 16.04?
$ ansible all -i hosts -m ping -u sad -vvvvvv
"module_stdout": "bash: /usr/bin/python: No such file or
"msg": "MODULE FAILURE",
What am I doing wrong or what is missing?
The ping module need Python 2 on the node.
Default Ubuntu 16.04 only install Python 3, install the package "python"
on you test node and it should work.
Kai Stian Olstad
You received this message because you are subscribed to the Google Groups "Ansible
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.