1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/playbook
Abhijit Menon-Sen 3ad9b4cba6 Rework additional ssh argument handling
Now we have the following ways to set additional arguments:

1. [ssh_connection]ssh_args in ansible.cfg: global setting, prepended to
   every command line for ssh/scp/sftp. Overrides default ControlPersist
   settings.
2. ansible_ssh_common_args inventory variable. Appended to every command
   line for ssh/scp/sftp. Used in addition to ssh_args, if set above, or
   the default settings.
3. ansible_{sftp,scp,ssh}_extra_args inventory variables. Appended to
   every command line for the relevant binary only. Used in addition to
   #1 and #2, if set above, or the default settings.
3. Using the --ssh-common-args or --{sftp,scp,ssh}-extra-args command
   line options (which are overriden by #2 and #3 above).

This preserves backwards compatibility (for ssh_args in ansible.cfg),
but also permits global settings (e.g. ProxyCommand via _common_args) or
ssh-specific options (e.g. -R via ssh_extra_args).

Fixes #12576
2015-10-02 21:26:25 +05:30
..
role Tweak variable manager use in role includes to avoid test failures 2015-09-30 08:05:55 -04:00
__init__.py Minor comment fix 2015-08-05 11:30:26 +02:00
attribute.py Use rich comparisons for Attribute and FieldAttribute 2015-09-02 12:33:42 +03:00
base.py Fix parent attribute lookup to be default 2015-09-26 11:28:29 -04:00
become.py {sudo,su}_user does not imply become 2015-10-02 09:11:41 -04:00
block.py Fix parent attribute lookup to be default 2015-09-26 11:28:29 -04:00
conditional.py Fix delegate_to localhost vs. 127.0.0.1 (and ::1) 2015-09-15 13:08:54 -04:00
handler.py Making the switch to v2 2015-05-03 21:47:26 -05:00
helpers.py Improve error catching from malformed playbook data 2015-09-23 08:56:36 -04:00
included_file.py Don't assume handlers exist in the same role (if any) 2015-09-29 14:52:43 -04:00
play.py Save the included directory for playbook includes for use as the basedir 2015-09-29 00:28:45 -04:00
play_context.py Rework additional ssh argument handling 2015-10-02 21:26:25 +05:30
playbook_include.py Save the included directory for playbook includes for use as the basedir 2015-09-29 00:28:45 -04:00
taggable.py Cleanups: 2015-07-23 12:13:45 -07:00
task.py Python 3: there's no basestring 2015-09-29 09:01:57 +03:00
vars.py Making the switch to v2 2015-05-03 21:47:26 -05:00
vars_file.py Making the switch to v2 2015-05-03 21:47:26 -05:00