mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-26 21:59:38 -07:00
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() |
||
|---|---|---|
| .. | ||
| process | ||
| __init__.py | ||
| action_write_locks.py | ||
| module_common.py | ||
| play_iterator.py | ||
| playbook_executor.py | ||
| stats.py | ||
| task_executor.py | ||
| task_queue_manager.py | ||
| task_result.py | ||