mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Add inventory root groups to related resources.
This commit is contained in:
parent
5b65b3bfac
commit
72fbb6c3a3
@ -203,6 +203,7 @@ class InventorySerializer(BaseSerializer):
|
||||
res.update(dict(
|
||||
hosts = reverse('main:inventory_hosts_list', args=(obj.pk,)),
|
||||
groups = reverse('main:inventory_groups_list', args=(obj.pk,)),
|
||||
root_groups = reverse('main:inventory_root_groups_list', args=(obj.pk,)),
|
||||
organization = reverse('main:organizations_detail', args=(obj.organization.pk,)),
|
||||
))
|
||||
return res
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user