community.general/lib/ansible/executor
Toshio Kuratomi 15902f2496 Fix for ansiballz filenames conflicting with python stdlib modules
The AnsiBallZ wrapper is transferred to the remote machine with
a filename similar to the Ansible-module it runs.  For modules like copy
and tempfile, this can end up conflicting with stdlib modules on the
remote machine depending on how python is setup there.  We have a little
bit of code in the wrapper to deal with this by removing the path that
the ansible module resides in from sys.path.

On MacOSX, that code was having a problem.  The path the module ends up
in included a symlinked directory so we were looking for a path in
sys.path but we had to look for the unsymlinked path instead.

Fix that by using os.path.realpath() instead of os.path.abspath()
2017-08-01 15:20:35 -07:00
..
process include_role handlers bug fix (#26335) 2017-07-19 15:02:32 -05:00
__init__.py
action_write_locks.py
module_common.py Fix for ansiballz filenames conflicting with python stdlib modules 2017-08-01 15:20:35 -07:00
play_iterator.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
playbook_executor.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00
stats.py
task_executor.py include_role handlers bug fix (#26335) 2017-07-19 15:02:32 -05:00
task_queue_manager.py include_role handlers bug fix (#26335) 2017-07-19 15:02:32 -05:00
task_result.py Return code is not very useful to assume a task failed 2017-06-27 15:40:27 -04:00