Hello,
I’ve tried the ansible tower plugin (22.07.5) to discover some hosts.
The scan successfully ends up with this kind of json output:
{ "type": "host", "inventory_name": " Dynamic] VMS", "name": "acore", "inventory_id": 19, "description": "imported", "id": "2811", "enabled": true, "groups": : { "name": "status_up", "id": 358 }, { "name": "cluster_Infra", "id": 388 }, { "id": 574, "name": "tag_infra_vms" }, { "name": "os_rhel_8x64", "id": 587 } ]}
Now I want to add a mappers that applies (creates) a host group 'os_rhel_8x64’when the group.name is “os_rhel_8x64’ but I can’t find any discovery.results.groups item in the menu. I tried to manually fill it like discovery.results.groups.name but it doesn’t work.
I suppose the plugin is not totally operationnal and needs some additionnal improvment.
Is there a workaround to do so?