I don't get much with "-vvv" and I've also removed "-s":
It still hangs and this is the output (after several minutes of waiting for
it to do something):
$ ansible host -u ddecker -m raw -a "ls" -vvvv
<host> ESTABLISH CONNECTION FOR USER: ddecker
<host> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o',
'ControlPersist=60s', '-o',
'ControlPath=/home/ddecker/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o',
'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
'-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', 'host', '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
On Thursday, December 12, 2013 8:18:42 PM UTC-6, Brian Coca wrote:
>
> also -vvv is helpful when debugging.
>
--
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.