Remove inventory_as_dict which would mess with downstream templating (#5085)

This commit is contained in:
Alan Rominger
2021-06-17 11:06:01 -04:00
committed by Shane McDonald
parent f1ca272394
commit 5a7a1b8f20

View File

@@ -1545,13 +1545,7 @@ class insights(PluginFileInjector):
collection = 'insights'
downstream_namespace = 'redhat'
downstream_collection = 'insights'
use_fqcn = 'true'
def inventory_as_dict(self, inventory_update, private_data_dir):
ret = super(insights, self).inventory_as_dict(inventory_update, private_data_dir)
# this inventory plugin requires the fully qualified inventory plugin name
ret['plugin'] = f'{self.namespace}.{self.collection}.{self.plugin_name}'
return ret
use_fqcn = True
for cls in PluginFileInjector.__subclasses__():