diff options
author | jctanner <tanner.jc@gmail.com> | 2016-09-29 17:44:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 17:44:54 -0400 |
commit | fff161f2f69280a9db86a3ba18c9ef54ee2639d9 (patch) | |
tree | e99570a6280e3e7495e364dea3b5b98f73e11ac6 /examples/ansible.cfg | |
parent | 1f03801fccd5b3eceb91e3d4b70177304e5da874 (diff) | |
download | ansible-fff161f2f69280a9db86a3ba18c9ef54ee2639d9.tar.gz |
Smart mode for sftp+scp (#17813)
If the sftp fails, roll over to scp by default. This saves users
from having to know about the scp_if_ssh method when sftp is broken
on the remote host.
Diffstat (limited to 'examples/ansible.cfg')
-rw-r--r-- | examples/ansible.cfg | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index 54a1008295..fac5181f11 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -306,9 +306,11 @@ # #pipelining = False -# if True, make ansible use scp if the connection type is ssh -# (default is sftp) -#scp_if_ssh = True +# Control the mechanism for transfering files +# * smart = try sftp and then try scp [default] +# * True = use scp only +# * False = use sftp only +#scp_if_ssh = smart # if False, sftp will not use batch mode to transfer files. This may cause some # types of file transfer failures impossible to catch however, and should |