You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/ansible_mitogen
David Wilson 7458dfae85 ansible: avoid roundtrip for small file transfers.
Calls to connect.put_file() where the file is sufficiently small enough
to fit in a single RPC proceed without waiting for an RPC response. If
the write fails the target context will log an exception, and any
subsequent step depending on the written file will fail.

I verified every built-in action plugin for file transfer calls, and
they all depend on the transferred file in the following step, so this
should be safe.

Reduces template/copy actions to 2-RTT, loop-20-templates.yml runtime
reduced from 30 seconds to 10 seconds over a 250ms link compared to
v0.2.2, and from 123 seconds compared to vanilla with pipelining
enabled.
7 years ago
..
plugins issue #342: forward _create_control_path() to SSH plugin. 7 years ago
__init__.py ansible: restructure to avoid intermediate imports 8 years ago
connection.py ansible: avoid roundtrip for small file transfers. 7 years ago
loaders.py issue #321: take remote_tmp and system_tmpdirs into account. 7 years ago
logging.py issue #317: ansible: fix log filtering in several cases 8 years ago
mixins.py ansible: avoid roundtrip in copy action due to fixup_perms2(). 7 years ago
module_finder.py ansible: fix 3.x dependency scanning on OS X 8 years ago
parsing.py issue #291: support UNIX hashbang syntax for ansible_*_interpreter. 8 years ago
planner.py ansible: don't crash when adhoc tries to run a missing module. 7 years ago
process.py ansible: enable profiling by default! 7 years ago
runner.py issue #321: 2.4+ compatibility fixes, disable test on Vanilla. 7 years ago
services.py issue #321: fix probable threading issue. 7 years ago
strategy.py issue #299: ansible: fix PluginLoader.get() monkey-patch 8 years ago
target.py issue #321: take remote_tmp and system_tmpdirs into account. 7 years ago