You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/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
9 years ago
..
process Revert "Move queuing tasks to a background thread" 9 years ago
__init__.py Making the switch to v2 11 years ago
action_write_locks.py Change <support@ansible.com> - it's being retired. 9 years ago
module_common.py Allow OSError to skip scriptdir removal 9 years ago
play_iterator.py Fixing an iteration bug introduced by fed079e4 9 years ago
playbook_executor.py Pass the absolute path to dirname when assigning basedir (#17457) 9 years ago
stats.py allow modules to set custom stats (#18946) 9 years ago
task_executor.py adds feature to allow connection to set action plugin (#18762) 9 years ago
task_queue_manager.py Template "original_task" fields in _process_pending_results 9 years ago
task_result.py minor spelling changes 9 years ago