diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py index aa351d91587..2158c5c7296 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py @@ -233,7 +233,7 @@ def update_fields(p): extra_vars = params.get('extra_vars_path') if extra_vars is not None: - params_update['extra_vars'] = '@' + extra_vars + params_update['extra_vars'] = ['@' + extra_vars] params.update(params_update) return params