From 7c0554bf7b74b1a579b41b5899ab4921b51aa6a0 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 aa351d9158..2158c5c729 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