mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
@@ -38,10 +38,6 @@ class ActionModule(object):
|
|||||||
# make sure the dwim'd path ends in a trailing "/"
|
# make sure the dwim'd path ends in a trailing "/"
|
||||||
# if the original path did
|
# if the original path did
|
||||||
path += '/'
|
path += '/'
|
||||||
elif 'inventory_dir' in self.inject['vars']:
|
|
||||||
# non-roles
|
|
||||||
abs_dir = os.path.abspath(self.inject['vars']['inventory_dir'])
|
|
||||||
path = os.path.join(abs_dir, path)
|
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user