From 86995d77866a63e779692596e098c8aa9307c828 Mon Sep 17 00:00:00 2001 From: Stoned Elipot Date: Fri, 22 Mar 2013 02:11:58 +0100 Subject: [PATCH] Fix pathnames in comments --- lib/ansible/inventory/vars_plugins/group_vars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/inventory/vars_plugins/group_vars.py b/lib/ansible/inventory/vars_plugins/group_vars.py index e13271031b..49d59ba670 100644 --- a/lib/ansible/inventory/vars_plugins/group_vars.py +++ b/lib/ansible/inventory/vars_plugins/group_vars.py @@ -42,7 +42,7 @@ class VarsModule(object): 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: path = os.path.join(basedir, "group_vars/%s" % x) if os.path.exists(path): @@ -55,7 +55,7 @@ class VarsModule(object): else: 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) if os.path.exists(path): data = utils.parse_yaml_from_file(path)