Hi guys, I am new to ansible and playing some basic  commands. 

I run the following command against different remote host , the result is 
different : 

zhaof@fnz:~/work/tools $ ansible tffxa05l.unix.bla -m ping -u fengnaz1 
--ask-pass
SSH password:
tffxa05l.unix.bla | success >> {
    "changed": false,
    "ping": "pong"
}


all good !

But when I run against different machine, i got : 

zhaof@fnz:~/work/tools $ ansible tffxa04z.unix.bla -m ping -u fengnaz1 
--ask-pass
SSH password:
tffxa04z.unix.bla | FAILED >> {
    "failed": true,
    "msg": "couldn't set locale correctly\r\ncouldn't set locale 
correctly\r\n/bin/sh: /usr/bin/python: not found\r\nOpenSSH_6.6.1, OpenSSL 
1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data 
/etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying 
options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: 
mux_client_request_session: master session id: 2\r\nShared connection to 
tffxa04z.unix.anz closed.\r\n",
    "parsed": false
}


I seems that ansible can not parse the response from tffxa04z .  locale 
problem ? 

anyone experienced similar issue ?  share your insight ? 

thanks & regards 

-- 
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/d339f52e-42cc-4680-9933-799f3c9fb896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to