I was running an earlier 1.7 and was having issues with Ansibles.postgresql and
the UnicodeDecodeError. I updated to the most recent devel and now I'm getting
it on gathering facts:
PLAY [jenkins] ****************************************************************
GATHERING FACTS ***************************************************************
<54.241.20.52> ESTABLISH CONNECTION FOR USER: ubuntu
<54.241.20.52> REMOTE_MODULE setup
<54.241.20.52> EXEC ['ssh', '-C', '-tt', '-q', '-o', 'ForwardAgent=yes', '-o',
'StrictHostKeyChecking=no', '-o', u'IdentityFile=keys/Jenkins.pem', '-o',
'KbdInteractiveAuthentication=no', '-o',
'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
'-o', 'PasswordAuthentication=no', '-o', 'User=ubuntu', '-o',
'ConnectTimeout=10', u'54.241.20.52', "/bin/sh -c 'mkdir -p
/tmp/.ansible/tmp/ansible-tmp-1401243187.48-140618310762629 && chmod a+rx
/tmp/.ansible/tmp/ansible-tmp-1401243187.48-140618310762629 && echo
/tmp/.ansible/tmp/ansible-tmp-1401243187.48-140618310762629'"]
Traceback (most recent call last):
File "/Users/anderson/src/ansible/bin/ansible-playbook", line 317, in <module>
sys.exit(main(sys.argv[1:]))
File "/Users/anderson/src/ansible/bin/ansible-playbook", line 257, in main
pb.run()
File "/Users/anderson/src/ansible/lib/ansible/playbook/__init__.py", line
319, in run
if not self._run_play(play):
File "/Users/anderson/src/ansible/lib/ansible/playbook/__init__.py", line
620, in _run_play
self._do_setup_step(play)
File "/Users/anderson/src/ansible/lib/ansible/playbook/__init__.py", line
565, in _do_setup_step
accelerate_port=play.accelerate_port,
File "/Users/anderson/src/ansible/lib/ansible/runner/__init__.py", line 1246,
in run
results = [ self._executor(h, None) for h in hosts ]
File "/Users/anderson/src/ansible/lib/ansible/runner/__init__.py", line 552,
in _executor
self.callbacks.on_unreachable(host, msg)
File "/Users/anderson/src/ansible/lib/ansible/callbacks.py", line 464, in
on_unreachable
msg = "fatal: [%s] => %s" % (host, results)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 514:
ordinal not in range(128)
(sp_devops)GoatRodeo:devops anderson (infra/jenkins)$ python --version
Python 2.7.5
(sp_devops)GoatRodeo:devops anderson (infra/jenkins)$ ansible-playbook --version
ansible-playbook 1.7 (devel ba641de69e) last updated 2014/05/27 22:09:33 (GMT
-400)
Regards,
-scott
--
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/542BB86D-DE69-4029-ADD9-6F92D0474542%40gmail.com.
For more options, visit https://groups.google.com/d/optout.