mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 03:41:50 -05:00
add back in support of towervars lost in merge
This commit is contained in:
@@ -2443,7 +2443,8 @@ class InventoryScriptView(RetrieveAPIView):
|
||||
host = get_object_or_404(obj.hosts, **hosts_q)
|
||||
return Response(host.variables_dict)
|
||||
return Response(obj.get_script_data(
|
||||
hostvars=bool(request.query_params.get('hostvars', '')),
|
||||
hostvars=hostvars,
|
||||
towervars=towervars,
|
||||
show_all=show_all
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user