Merge "Fix connection plugin to work with Ansible 2.6.0"

This commit is contained in:
Zuul 2018-07-09 10:22:47 +00:00 committed by Gerrit Code Review
commit 408d1f28d0
1 changed files with 16 additions and 0 deletions

View File

@ -226,6 +226,22 @@ DOCUMENTATION = '''
- {key: usetty, section: ssh_connection}
type: boolean
yaml: {key: connection.usetty}
sftp_executable:
default: sftp
description:
- This defines the location of the sftp binary. It defaults to `sftp` which will use the first binary available in $PATH.
env: [{name: ANSIBLE_SFTP_EXECUTABLE}]
ini:
- {key: sftp_executable, section: ssh_connection}
version_added: "2.6"
scp_executable:
default: scp
description:
- This defines the location of the scp binary. It defaults to `scp` which will use the first binary available in $PATH.
env: [{name: ANSIBLE_SCP_EXECUTABLE}]
ini:
- {key: scp_executable, section: ssh_connection}
version_added: "2.6"
'''
import imp