community.general/lib/ansible
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
..
callback_plugins Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
inventory Handle implicit localhost when using '-i host,' syntax 2014-01-30 12:46:02 -06:00
module_utils Adding no_log: capability for tasks 2014-01-31 16:58:46 -06:00
playbook Fix issue with handler notifications being sent out incorrectly 2014-02-03 10:10:45 -06:00
runner Addresses #5739 and cleans up copy.py 2014-02-04 12:44:10 -06:00
utils Merge pull request #5527 from sergevanginderachter/basedirdwim 2014-01-30 10:54:19 -08:00
__init__.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
callbacks.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
color.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
constants.py Bug in constants.py, ANSIBLE_SSH_PIPELINING should be coerced to boolean 2014-01-22 13:54:28 +00:00
errors.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
module_common.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00