Skip to content

Commit

Permalink
Allow folder in group_vars (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobuss authored and Ferry Boender committed Oct 27, 2017
1 parent 38e869a commit d9e27a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansiblecmdb/ansible.py
Expand Up @@ -160,7 +160,7 @@ def _parse_groupvar_dir(self, inventory_path):

for (dirpath, dirnames, filenames) in os.walk(path):
for filename in filenames:
f_path = os.path.join(path, filename)
f_path = os.path.join(dirpath, filename)
groupname = filename

# Check for ansible-vault files, because they're valid yaml for
Expand Down

0 comments on commit d9e27a4

Please sign in to comment.