|
|
|
|
@ -59,7 +59,7 @@ DOCUMENTATION = '''
|
|
|
|
|
sshpass_prompt:
|
|
|
|
|
description:
|
|
|
|
|
- Password prompt that sshpass should search for. Supported by sshpass 1.06 and up.
|
|
|
|
|
- Defaults to ``Enter PIN for`` when pkcs11_provider is set.
|
|
|
|
|
- Defaults to C(Enter PIN for) when pkcs11_provider is set.
|
|
|
|
|
default: ''
|
|
|
|
|
ini:
|
|
|
|
|
- section: 'ssh_connection'
|
|
|
|
|
@ -131,7 +131,7 @@ DOCUMENTATION = '''
|
|
|
|
|
- name: ansible_scp_executable
|
|
|
|
|
version_added: '2.7'
|
|
|
|
|
scp_extra_args:
|
|
|
|
|
description: Extra exclusive to the ``scp`` CLI
|
|
|
|
|
description: Extra exclusive to the C(scp) CLI
|
|
|
|
|
vars:
|
|
|
|
|
- name: ansible_scp_extra_args
|
|
|
|
|
env:
|
|
|
|
|
@ -145,7 +145,7 @@ DOCUMENTATION = '''
|
|
|
|
|
- name: scp_extra_args
|
|
|
|
|
default: ''
|
|
|
|
|
sftp_extra_args:
|
|
|
|
|
description: Extra exclusive to the ``sftp`` CLI
|
|
|
|
|
description: Extra exclusive to the C(sftp) CLI
|
|
|
|
|
vars:
|
|
|
|
|
- name: ansible_sftp_extra_args
|
|
|
|
|
env:
|
|
|
|
|
@ -242,9 +242,9 @@ DOCUMENTATION = '''
|
|
|
|
|
control_path:
|
|
|
|
|
description:
|
|
|
|
|
- This is the location to save SSH's ControlPath sockets, it uses SSH's variable substitution.
|
|
|
|
|
- Since 2.3, if null (default), ansible will generate a unique hash. Use `%(directory)s` to indicate where to use the control dir path setting.
|
|
|
|
|
- Before 2.3 it defaulted to `control_path=%(directory)s/ansible-ssh-%%h-%%p-%%r`.
|
|
|
|
|
- Be aware that this setting is ignored if `-o ControlPath` is set in ssh args.
|
|
|
|
|
- Since 2.3, if null (default), ansible will generate a unique hash. Use ``%(directory)s`` to indicate where to use the control dir path setting.
|
|
|
|
|
- Before 2.3 it defaulted to ``control_path=%(directory)s/ansible-ssh-%%h-%%p-%%r``.
|
|
|
|
|
- Be aware that this setting is ignored if C(-o ControlPath) is set in ssh args.
|
|
|
|
|
env:
|
|
|
|
|
- name: ANSIBLE_SSH_CONTROL_PATH
|
|
|
|
|
ini:
|
|
|
|
|
@ -257,7 +257,7 @@ DOCUMENTATION = '''
|
|
|
|
|
default: ~/.ansible/cp
|
|
|
|
|
description:
|
|
|
|
|
- This sets the directory to use for ssh control path if the control path setting is null.
|
|
|
|
|
- Also, provides the `%(directory)s` variable for the control path setting.
|
|
|
|
|
- Also, provides the ``%(directory)s`` variable for the control path setting.
|
|
|
|
|
env:
|
|
|
|
|
- name: ANSIBLE_SSH_CONTROL_PATH_DIR
|
|
|
|
|
ini:
|
|
|
|
|
@ -280,7 +280,7 @@ DOCUMENTATION = '''
|
|
|
|
|
description:
|
|
|
|
|
- "Preferred method to use when transferring files over ssh"
|
|
|
|
|
- Setting to 'smart' (default) will try them in order, until one succeeds or they all fail
|
|
|
|
|
- Using 'piped' creates an ssh pipe with ``dd`` on either side to copy the data
|
|
|
|
|
- Using 'piped' creates an ssh pipe with C(dd) on either side to copy the data
|
|
|
|
|
choices: ['sftp', 'scp', 'piped', 'smart']
|
|
|
|
|
env: [{name: ANSIBLE_SSH_TRANSFER_METHOD}]
|
|
|
|
|
ini:
|
|
|
|
|
|