community.general/lib/ansible
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
..
cli Squashed commit of the following: 2015-09-03 11:26:56 -04:00
compat Making the switch to v2 2015-05-03 21:47:26 -05:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Making the switch to v2 2015-05-03 21:47:26 -05:00
executor Make sure PlayContext is copied when iterating in a with_ loop 2015-09-03 08:11:30 -04:00
galaxy Python 3: avoid iteritems() in a template 2015-09-03 10:11:32 +03:00
inventory Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00
module_utils Adds utf-8 encoding to f5 module_utils 2015-09-01 08:10:23 -07:00
modules Submodule update 2015-09-01 11:03:19 -04:00
new_inventory Making the switch to v2 2015-05-03 21:47:26 -05:00
parsing Merge pull request #12112 from amenonsen/vault-stdio 2015-08-27 11:26:48 -07:00
playbook Squashed commit of the following: 2015-09-03 11:26:56 -04:00
plugins Go back to using ~/.ansible/cp as the ControlPath 2015-09-04 00:35:13 +05:30
template Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00
utils Cleanup combine_vars 2015-09-01 11:23:12 -07:00
vars Cleanup combine_vars 2015-09-01 11:23:12 -07:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py actually implemented flags correctly for all priv escalation methods 2015-09-02 11:31:39 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00