Repost to fix some grammar error:
Hi guys, I am new to Ansible and playing some basic commands now.
I run the following command against different remote hosts, and found that
the results are 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 !
However when I run against another remote host, 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*
*}*
It seems that the Ansible can not parse the response from tffxa04z . A
locale problem ?
Has anyone experienced the similar issue? Can your pls share your insight
and solution ?
thanks & regards
Fengnan
--
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/86167a66-3c8f-46fb-a7c0-a2039a69b51b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.