Scott Anderson
unread,May 27, 2014, 10:15:49 PM5/27/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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