mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Add dynamic role in /api/v1/ping/
This commit is contained in:
@@ -130,7 +130,7 @@ class ApiV1PingView(APIView):
|
|||||||
this requires no auth and is intended for use by the installer process.
|
this requires no auth and is intended for use by the installer process.
|
||||||
"""
|
"""
|
||||||
return Response({
|
return Response({
|
||||||
'role': 'standalone', # FIXME: Make this dynamic.
|
'role': Instance.objects.my_role(),
|
||||||
'version': get_awx_version(),
|
'version': get_awx_version(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user