From d0cc980223cf5b09893c1199f2f093f9c916dbfb Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 2 Jun 2017 09:29:53 -0400 Subject: [PATCH] Fix handling of extra_vars_path parameter. (#25272) tower-cli process_extra_vars takes a list. --- .../web_infrastructure/ansible_tower/tower_job_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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