1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Contrib infoblox exattrs Fixes #35409 (#35410)

* *FIX: re-create the exattrs dict into the hostvars[name] dict

* *FIX: remove unwanted files

* Fixes #35409: put an str instead of variable
This commit is contained in:
Clement Trebuchet 2018-01-31 15:17:34 +01:00 committed by Peter Sprygada
parent 9001a8794f
commit 862c439223

View file

@ -114,7 +114,7 @@ def main():
if key.startswith('ansible_'): if key.startswith('ansible_'):
hostvars[name][key] = value hostvars[name][key] = value
else: else:
if 'extattrs' not in hostvars: if 'extattrs' not in hostvars[name]:
hostvars[name]['extattrs'] = {} hostvars[name]['extattrs'] = {}
hostvars[name]['extattrs'][key] = value hostvars[name]['extattrs'][key] = value