From 0c63ea00521fc3cc71d57b91efb30e1ebfcb2e6e Mon Sep 17 00:00:00 2001 From: adamscmRH Date: Mon, 15 Jan 2018 13:26:55 -0500 Subject: [PATCH] extends JT xtra var error msg --- awx/main/models/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/models/mixins.py b/awx/main/models/mixins.py index f0463ba867..a16b662aab 100644 --- a/awx/main/models/mixins.py +++ b/awx/main/models/mixins.py @@ -300,7 +300,8 @@ class SurveyJobTemplateMixin(models.Model): rejected.update(extra_vars) # ignored variables does not block manual launch if 'prompts' not in _exclude_errors: - errors['extra_vars'] = [_('Variables {list_of_keys} are not allowed on launch.').format( + errors['extra_vars'] = [_('Variables {list_of_keys} are not allowed on launch. Check the Prompt on Launch setting '+ + 'on the Job Template to include Extra Variables.').format( list_of_keys=', '.join(extra_vars.keys()))] return (accepted, rejected, errors)