From 131e6af5ee509fde9378107e2344ace959ccf397 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 9 Nov 2016 21:32:04 +0000 Subject: [PATCH] Remove join filter from pip module tasks Ansible 2.2 now treats the 'name' argument for the pip module as a list, removing the need for us to implement the join filter to optimise the install execution. Change-Id: I98257c9e672392270e13d6f158467e7cd56f4b6d --- tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 956109e..e7e5b7c 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -29,7 +29,7 @@ - name: Install requires pip packages pip: - name: "{{ barbican_requires_pip_packages | join(' ') }}" + name: "{{ barbican_requires_pip_packages }}" state: "{{ barbican_pip_package_state }}" extra_args: >- {{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }} @@ -73,7 +73,7 @@ - name: Install pip packages pip: - name: "{{ barbican_pip_packages | join(' ') }}" + name: "{{ barbican_pip_packages }}" state: "{{ barbican_pip_package_state }}" virtualenv: "{{ barbican_bin | dirname }}" virtualenv_site_packages: "no"