mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -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.
|
||||
"""
|
||||
return Response({
|
||||
'role': 'standalone', # FIXME: Make this dynamic.
|
||||
'role': Instance.objects.my_role(),
|
||||
'version': get_awx_version(),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user