Commit 809b9316 by James Cammarata

Merge pull request #7382 from jimi-c/issue_7366_synchronize_inventory_dir

Do not base synchronize source on the inventory directory
parents d75eb030 38c2c608
...@@ -38,10 +38,6 @@ class ActionModule(object): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment