summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndrew Gaffney <andrew@agaffney.org>2016-11-27 19:52:31 -0700
committerBrian Coca <bcoca@users.noreply.github.com>2017-01-19 12:31:14 -0500
commitac51266e8fea1ac6312a9649fc5cf10dd0609925 (patch)
tree8f6ae4593c81c7d8aa79e650d1434396791c1a89 /examples
parent2a909638338f6d59e83e444a711f7f9eaaa3fddc (diff)
downloadansible-ac51266e8fea1ac6312a9649fc5cf10dd0609925.tar.gz
Add pipeline-ish method using dd for file transfer over SSH (#18642)
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 054b02dd15..1cbc9afe2b 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -331,12 +331,20 @@
#
#pipelining = False
-# Control the mechanism for transferring files
+# Control the mechanism for transferring files (old)
# * smart = try sftp and then try scp [default]
# * True = use scp only
# * False = use sftp only
#scp_if_ssh = smart
+# Control the mechanism for transferring files (new)
+# If set, this will override the scp_if_ssh option
+# * sftp = use sftp to transfer files
+# * scp = use scp to transfer files
+# * piped = use 'dd' over SSH to transfer files
+# * smart = try sftp, scp, and piped, in that order [default]
+#transfer_method = 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
# only be disabled if your sftp version has problems with batch mode