community.general/lib/ansible/runner/action_plugins
Richard C Isaacson a3261500dd Addresses #5739 and cleans up copy.py
The copy action_plugin is not easy to read. Part of this commit is taking that file, restructuring it, and adding comments. No functionality changed in how it interacts with the world.

The fix for #5739 ends up being the assumption that there is a cleanup 'rm -rf' that happens at the end of the copy loop. This was not the fact before and we made a bunch of tmp directories that we hoped would end up being cleaned up. Now we just use the tmp directory that the runner provides and cleanup inline if it is a single file to be coppied or after the loop if it is a recursive copy.

As a part of this we did end up having to change runner to provide a flag so that we could short the inline tmp directory removal. This flag defaults to True so it will not change the behavior of other modules that are being called.
2014-02-04 12:44:10 -06:00
..
__init__.py Add init, though it's not really used. 2012-09-25 08:21:59 -04:00
add_host.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
assemble.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
async.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
copy.py Addresses #5739 and cleans up copy.py 2014-02-04 12:44:10 -06:00
debug.py path_dwim: fix when basedir not set 2014-01-08 02:21:10 +01:00
fail.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
fetch.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
group_by.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
include_vars.py AnsibleWorks -> Ansible 2014-01-28 20:29:42 -05:00
normal.py Adding no_log: capability for tasks 2014-01-31 16:58:46 -06:00
pause.py Allow storing input from user in a pause prompt 2013-09-25 17:28:25 -05:00
raw.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
script.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
set_fact.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
synchronize.py Make synchronize module work better with local transport, fix #5668 2014-01-17 17:32:36 +01:00
template.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
unarchive.py ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00