Skip to content

Commit

Permalink
Merge pull request #25 from device42/D42-18850
Browse files Browse the repository at this point in the history
D42-18850 - Ansible inventory plugin returns device type instead of hardware model
  • Loading branch information
cscaglioned42 committed Feb 11, 2021
2 parents cb24418 + 7d7c0c8 commit b392dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inventory/d42.py
Expand Up @@ -404,7 +404,7 @@ def get_devices(self):
customer.name as customer,
t_cost.cost,
view_vendor_v1.name as manufacturer,
view_device_v1.type as hw_model,
view_hardware_v1.name as hw_model,
view_hardware_v1.hardware_pk as hw_model_id,
vendor.name as manufacturer,
view_hardware_v1.is_it_switch,
Expand Down

0 comments on commit b392dee

Please sign in to comment.