Commit 86995d77 by Stoned Elipot

Fix pathnames in comments

parent b70c26dc
...@@ -42,7 +42,7 @@ class VarsModule(object): ...@@ -42,7 +42,7 @@ class VarsModule(object):
results = {} results = {}
# load vars in playbook_dir/group_vars/name_of_group # load vars in inventory_dir/group_vars/name_of_group
for x in groups: for x in groups:
path = os.path.join(basedir, "group_vars/%s" % x) path = os.path.join(basedir, "group_vars/%s" % x)
if os.path.exists(path): if os.path.exists(path):
...@@ -55,7 +55,7 @@ class VarsModule(object): ...@@ -55,7 +55,7 @@ class VarsModule(object):
else: else:
results.update(data) results.update(data)
# load vars in playbook_dir/group_vars/name_of_host # load vars in inventory_dir/hosts_vars/name_of_host
path = os.path.join(basedir, "host_vars/%s" % host.name) path = os.path.join(basedir, "host_vars/%s" % host.name)
if os.path.exists(path): if os.path.exists(path):
data = utils.parse_yaml_from_file(path) data = utils.parse_yaml_from_file(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