I'm having a weird issue with only one of my hosts that I'm trying to 
connect with.  I initially had this issue with Ansible 1.3, but I decided 
to test it using the dev trunk (ansible 1.5 (devel dc41912158) last updated 
2013/12/12 17:55:33 (GMT -500)) and it still doesn't work, so I figured I'd 
reach out to the group.

$ ssh ddecker@host
Last login: Thu Dec 12 17:42:37 2013
[ddecker@host ~]$

As you can see above, I can SSH into it using SSH keys with no issues. 
 However, no matter what command I run with Ansible, it just hangs and I 
have to CTL+C it to get it to come back.   When I do, Python spits out some 
stuff:

$ ansible host -u ddecker -s -m raw -a "ls"
Traceback (most recent call last):
  File "/home/ddecker/ansible/bin/ansible", line 157, in <module>
    (runner, results) = cli.run(options, args)
  File "/home/ddecker/ansible/bin/ansible", line 131, in run
    results = runner.run()
  File "/home/ddecker/ansible/lib/ansible/runner/__init__.py", line 992, in 
run
    results = [ self._executor(h, None) for h in hosts ]
  File "/home/ddecker/ansible/lib/ansible/runner/__init__.py", line 394, in 
_executor
    exec_rc = self._executor_internal(host, new_stdin)
  File "/home/ddecker/ansible/lib/ansible/runner/__init__.py", line 485, in 
_executor_internal
    return self._executor_internal_inner(host, self.module_name, 
self.module_args, inject, port, complex_args=complex_args)
  File "/home/ddecker/ansible/lib/ansible/runner/__init__.py", line 685, in 
_executor_internal_inner
    result = handler.run(conn, tmp, module_name, module_args, inject, 
complex_args)
  File "/home/ddecker/ansible/lib/ansible/runner/action_plugins/raw.py", 
line 47, in run
    result=self.runner._low_level_exec_command(conn, module_args, tmp, 
sudoable=True, executable=executable)
  File "/home/ddecker/ansible/lib/ansible/runner/__init__.py", line 771, in 
_low_level_exec_command
    rc, stdin, stdout, stderr = conn.exec_command(cmd, tmp, sudo_user, 
sudoable=sudoable, executable=executable)
  File 
"/home/ddecker/ansible/lib/ansible/runner/connection_plugins/ssh.py", line 
221, in exec_command
    rfd, wfd, efd = select.select(rpipes, [], rpipes, 1)
KeyboardInterrupt

Not sure why this is happening - could someone give me some sort of idea on 
what else I can do to help provide some sort of fix to this issue?

Thanks,
Drew

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to