Hi !
I have already the same problem.
If you have this error :
10.50.3.1 | FAILED! => {
"changed": false,
"module_stderr": "/bin/sh: /usr/bin/python: not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 127
}
You can pass the interpreter /usr/local/bin/python2.7 in Ansible Variable !
In the /etc/ansible/hosts file you can put :
fqdn_server ansible_python_interpreter: /usr/local/bin/python2.7
After this modification it's work fine !