I am trying to ping a linux machine having python version 3.5.1+, but I am facing the following error.
ansible -m ping linux1
1.1.1.2 | FAILED! => {
“changed”: false,
“failed”: true,
“msg”: “Traceback (most recent call last):\r\n File "//test/log/tmp/ansible-tmp-1463555484.41-81681372152272/ping", line 44, in \r\n import exceptions\r\nImportError: No module named ‘exceptions’\r\n”,
“parsed”: false
}
Ansible version of my ansible controller is 2.0.0
When I tried pinging a linux machine having python version 2.7.9, it is working properly.