diff options
Diffstat (limited to 'ansible_collections/community/routeros/update-docs.py')
-rwxr-xr-x | ansible_collections/community/routeros/update-docs.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ansible_collections/community/routeros/update-docs.py b/ansible_collections/community/routeros/update-docs.py index 17a431b05..05a9ee743 100755 --- a/ansible_collections/community/routeros/update-docs.py +++ b/ansible_collections/community/routeros/update-docs.py @@ -9,7 +9,12 @@ Updates DOCUMENTATION of modules using module_utils._api_data with the correct list of supported paths. ''' -from plugins.module_utils._api_data import ( +import sys + +# Ensure that we can import things from ansible_collections +sys.path.append('../../..') + +from ansible_collections.community.routeros.plugins.module_utils._api_data import ( PATHS, join_path, ) |