mirror of
https://github.com/ansible/awx.git
synced 2026-03-14 07:27:28 -02:30
Remove inventory_as_dict which would mess with downstream templating (#5085)
This commit is contained in:
committed by
Shane McDonald
parent
f1ca272394
commit
5a7a1b8f20
@@ -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__():
|
||||
|
||||
Reference in New Issue
Block a user