community.general/lib/ansible/runner/connection_plugins
Michael Scherer c87afc1109 Clean a bit more the ssh_args configuration
If someone add ssh_args = " " to his .ansible.cfg, it will result into
strange failure later :

    <server.example.org> ESTABLISH CONNECTION FOR USER: misc
    <server.example.org> REMOTE_MODULE ping
    <server.example.org> EXEC ['ssh', '-C', '-tt', '-q', ' ', '-o', 'KbdInteractiveAuthentication=no',
    '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no',
    '-o', 'ConnectTimeout=10', 'server.example.org', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1397947711.21-5932460998838
    && chmod a+rx /tmp/ansible-tmp-1397947711.21-5932460998838 && echo /tmp/ansible-tmp-1397947711.21-5932460998838'"]
    server.example.org | FAILED => SSH encountered an unknown error during the connection. We recommend you re-run the
    command using -vvvv, which will enable SSH debugging output to help diagnose the issue

The root cause is the empty string between -q and -o, who kinda break mkdir.
2014-04-20 00:47:00 +02:00
..
__init__.py Add __init__'s to git 2012-09-06 18:43:28 -04:00
accelerate.py Adding in a configurable option for the accelerate daemon timeout 2014-03-23 14:45:49 -05:00
chroot.py Revert "Revert "Merge pull request #5325 from angstwad/add-su-support"" 2014-01-20 19:19:03 -06:00
fireball.py Revert "Revert "Merge pull request #5325 from angstwad/add-su-support"" 2014-01-20 19:19:03 -06:00
funcd.py Revert "Revert "Merge pull request #5325 from angstwad/add-su-support"" 2014-01-20 19:19:03 -06:00
jail.py Revert "Revert "Merge pull request #5325 from angstwad/add-su-support"" 2014-01-20 19:19:03 -06:00
libvirt_lxc.py Rename lxc to libvirt_lxc 2014-03-11 16:16:24 -04:00
local.py Revert "Revert "Merge pull request #5325 from angstwad/add-su-support"" 2014-01-20 19:19:03 -06:00
paramiko_ssh.py Default port to 22 for paramiko when it is unset 2014-02-18 09:53:24 -06:00
ssh.py Clean a bit more the ssh_args configuration 2014-04-20 00:47:00 +02:00