community.general/lib/ansible/executor
Toshio Kuratomi 03510ec4ce Allow OSError to skip scriptdir removal
On Ubuntu the scriptdir gets placed into sys.path.  This makes some
modules (copy) fail because the ansible module gets loaded instead of
the stdlib copy module.  So we remove scriptdir there.  Unfortunately,
the scriptdir code uses abspath().  When pipelining, abspath() has to
find the cwd.  On OSX, finding the cwd when that directory is not
executable by the user raises an OSError.  Since OSX does not suffer
from the scriptdir problem we're able to just skip scriptdir handling if
we get that exception.

Fixes #19729
2017-01-05 15:50:56 -08:00
..
process Revert "Move queuing tasks to a background thread" 2016-09-15 17:00:06 -05:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
action_write_locks.py Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
module_common.py Allow OSError to skip scriptdir removal 2017-01-05 15:50:56 -08:00
play_iterator.py Fixing an iteration bug introduced by fed079e4 2017-01-04 10:34:06 -06:00
playbook_executor.py Pass the absolute path to dirname when assigning basedir (#17457) 2016-09-16 08:19:43 -07:00
stats.py allow modules to set custom stats (#18946) 2017-01-05 16:38:36 -05:00
task_executor.py adds feature to allow connection to set action plugin (#18762) 2016-12-15 15:47:39 -05:00
task_queue_manager.py Template "original_task" fields in _process_pending_results 2016-12-21 10:09:06 -06:00
task_result.py minor spelling changes 2016-12-13 13:51:13 -05:00