mirror of
https://github.com/ansible/awx.git
synced 2026-04-30 14:15:28 -02:30
add v1 vs. v2 inclusion/exclusion
This commit is contained in:
@@ -2073,6 +2073,8 @@ class HostInsights(GenericAPIView):
|
||||
|
||||
model = Host
|
||||
serializer_class = EmptySerializer
|
||||
new_in_320 = True
|
||||
new_in_api_v2 = True
|
||||
|
||||
def _extract_insights_creds(self, credential):
|
||||
return (credential.inputs['username'], decrypt_field(credential, 'password'))
|
||||
|
||||
Reference in New Issue
Block a user