[QUESTION]: ome_inventory.py, wrong values set? #545
Labels
area/ome
ome modules
type/feature-request
New feature or request
type/question
Further information is requested
So recently tried out the inventory plugin in AWX (dellemc.openmanage galaxy collection, latest) and noticed that idrac_ip, baseuri and hostname is filled out with exactly the same information namely the IP address of the device. This seems incorrect?
Also, wouldnt it be beneficial to also include the ID of each ome device in the inventory as well if we want use ome to manage devices.
I get it that we can directly manage each inventory host directly through idrac and use idrac credentials but since it seems like a very tiny fix to the actual code to include some additional information to enable the ome playbooks which require ID for filtering specific host/device.
I noticed that in _set_host_vars we only get a string value passed through in _add_group_data which is the device_ip... wouldn't it be a better approach to send the whole host object that includes all properties to _set_host_vars instead? then hostname and baseuri could be correctly set in the inventory and adding device ID.
The text was updated successfully, but these errors were encountered: