diff options
| author | James Cammarata <jimi@sngx.net> | 2015-07-22 14:25:47 -0400 |
|---|---|---|
| committer | James Cammarata <jimi@sngx.net> | 2015-07-22 14:25:47 -0400 |
| commit | 7a9916422a843ab94cad0d7c37d45d9b4fe54260 (patch) | |
| tree | aa398a3ddc7d09762916f2b4304313e87bd169f3 /examples | |
| parent | 993ce592b1f2ce1405b7ceff5334269e227e1a40 (diff) | |
| download | ansible-7a9916422a843ab94cad0d7c37d45d9b4fe54260.tar.gz | |
Fixing up error handling for fetch_file ops in connection plugins
* enable batch mode (configurable with a config option, on by default)
for sftp transfers, so we can catch errors more easily
* general cleanup in the local connection plugin and fetch action plugin
Fixes #11612
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/ansible.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index 2b68ad9e7e..b6845c0703 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -220,6 +220,11 @@ fact_caching = memory # (default is sftp) #scp_if_ssh = True +# 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 +#sftp_batch_mode = False + [accelerate] accelerate_port = 5099 accelerate_timeout = 30 |
