mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
move scp_if_ssh to the ssh connection category
This commit is contained in:
@@ -60,10 +60,6 @@ sudo_user=root
|
||||
|
||||
transport=paramiko
|
||||
|
||||
# the following makes ansible use scp if the connection type is ssh (default is sftp)
|
||||
|
||||
scp_if_ssh=True
|
||||
|
||||
# remote SSH port to be used when --port or "port:" or an equivalent inventory
|
||||
# variable is not specified.
|
||||
|
||||
@@ -108,4 +104,8 @@ vars_plugins = /usr/share/ansible_plugins/vars_plugins
|
||||
|
||||
ssh_args=-o PasswordAuthentication=no -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
|
||||
|
||||
# the following makes ansible use scp if the connection type is ssh (default is sftp)
|
||||
|
||||
#scp_if_ssh=True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user