From b0a1988c29a05641c18dbe9c57d95059b8b2a9b8 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 18 Aug 2017 15:53:38 -0400 Subject: [PATCH] add required fields for cloudforms credentials see: https://github.com/ansible/ansible-tower/issues/7462 --- awx/main/models/credential.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/models/credential.py b/awx/main/models/credential.py index 7a18c1bf52..7c1c60c47a 100644 --- a/awx/main/models/credential.py +++ b/awx/main/models/credential.py @@ -891,7 +891,8 @@ def cloudforms(cls): 'label': 'Password', 'type': 'string', 'secret': True, - }] + }], + 'required': ['host', 'username', 'password'], } )