From a05aac8a50656b7cc0180703a77cc7f4220daf69 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Tue, 22 Jul 2014 15:21:24 -0500 Subject: [PATCH] Add host and project to the credential serializer. --- awx/api/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 45aa860d0b..5a88d1a59f 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -1131,8 +1131,8 @@ class CredentialSerializer(BaseSerializer): class Meta: model = Credential - fields = ('*', 'user', 'team', 'kind', 'cloud', 'username', - 'password', 'ssh_key_data', 'ssh_key_unlock', + fields = ('*', 'user', 'team', 'kind', 'cloud', 'host', 'username', + 'password', 'project', 'ssh_key_data', 'ssh_key_unlock', 'sudo_username', 'sudo_password', 'vault_password') def to_native(self, obj):