mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Add dynamic role in /api/v1/ping/
This commit is contained in:
parent
1c11f43ea2
commit
e43488467e
@ -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(),
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user