community.general/lib/ansible/plugins
Abhijit Menon-Sen 7aa6cd3f63 Go back to using ~/.ansible/cp as the ControlPath
This was commented out earlier because of the lack of interprocess
locking and prepare_writeable_dir in v2.

The locking was not needed: it could only protect against other siblings
of this process (since they were all locking a temporary file that was
opened in the parent), and those would be running as the same user and
with the same umask. Also, os.makedirs() tolerates intermediate paths
being created by other processes. For any other kind of error, both
locking and non-locking code paths would fail in the same way.

So all we really need to do is make sure we have write permissions.

(We also move the cp_dir handling code to where we actually set the
ControlPath ourselves; if the user has set it via ssh_*args already,
we don't need to bother.)
2015-09-04 00:35:13 +05:30
..
action Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00
cache Simplify FactCache.copy() 2015-09-03 09:44:44 +03:00
callback corrected skipped_hosts constant usage, thanks @benjixx 2015-08-30 20:21:15 -04:00
connections Go back to using ~/.ansible/cp as the ControlPath 2015-09-04 00:35:13 +05:30
filter Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00
inventory Remove unused (copied) _before_comment method 2015-08-21 06:58:23 +05:30
lookup Use 'except ... as' syntax 2015-08-27 22:15:04 +03:00
shell fix issues with csh redirection 2015-08-30 17:49:16 -04:00
strategies Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00
test moved mandatory back to filters as it does not always return a boolean, it does an exception on failure 2015-08-21 09:54:56 -04:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Use templar all the way down 2015-08-04 12:25:53 -04:00