Hi, I am new to Ansible. I am testing simple ansible script like "ansible 
-m shell -a 'df -h' all -i hosts-file.ini" with several Raspberry Pi's. All 
come back successfully, accept one host, on any type of command, it looks 
like below, (the ssh keys works, I can log into the host, etc.)
-------------------------------------------------------------------------------------------------------------

host1 | FAILED! => {

    "changed": false, 

    "module_stderr": "Shared connection to iotplay.asuscomm.com 
closed.\r\n", 

    "module_stdout": "Traceback (most recent call last):\r\n  File 
\"/home/pi/.ansible/tmp/ansible-tmp-1513456624.46-27928346050531/command.py\", 
line 18, in <module>\r\n    import tempfile\r\n  File 
\"/usr/lib/python2.7/tempfile.py\", line 35, in <module>\r\n    from random 
import Random as _Random\r\nEOFError: EOF read where object expected\r\n", 

    "msg": "MODULE FAILURE", 

    "rc": 0

}
-------------------------------------------------------------------------------------------------------------
Can someone point me in the right direction to solve this please? 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/45c710ee-d153-4877-8e97-3849acb618f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to