We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bad79c commit a0ef40aCopy full SHA for a0ef40a
src/ansiblecmdb/ansible.py
@@ -143,7 +143,7 @@ def _parse_hostvar_dir(self, inventory_path):
143
if os.path.isdir(inventory_path):
144
path = os.path.join(inventory_path, 'host_vars')
145
else:
146
- path = os.path.join(os.path.dirname(inventory_path, 'host_vars'))
+ path = os.path.join(os.path.dirname(inventory_path), 'host_vars')
147
148
self.log.debug("Parsing host vars (dir): {0}".format(path))
149
if not os.path.exists(path):
0 commit comments