Skip to content

Commit

Permalink
Contrib infoblox exattrs Fixes #35409 (#35410)
Browse files Browse the repository at this point in the history
* *FIX: re-create the exattrs dict into the hostvars[name] dict

* *FIX: remove unwanted files

* Fixes #35409: put an str instead of variable
  • Loading branch information
clementtrebuchet authored and privateip committed Jan 31, 2018
1 parent 9001a87 commit 862c439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/inventory/infoblox.py
Expand Up @@ -114,7 +114,7 @@ def main():
if key.startswith('ansible_'):
hostvars[name][key] = value
else:
if 'extattrs' not in hostvars:
if 'extattrs' not in hostvars[name]:
hostvars[name]['extattrs'] = {}
hostvars[name]['extattrs'][key] = value

Expand Down

0 comments on commit 862c439

Please sign in to comment.