From 24ba34384b5a9a2463867b57864787c8c1f7db1c Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 9 Nov 2016 21:32:24 +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: Iad57220056af5dc3e186e7eb8aa8716424fcf463 --- tasks/cinder_install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/cinder_install.yml b/tasks/cinder_install.yml index 4e53e34b..09220036 100644 --- a/tasks/cinder_install.yml +++ b/tasks/cinder_install.yml @@ -30,7 +30,7 @@ - name: Install requires pip packages pip: - name: "{{ cinder_requires_pip_packages | join(' ') }}" + name: "{{ cinder_requires_pip_packages }}" state: "{{ cinder_pip_package_state }}" extra_args: >- {{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }} @@ -75,7 +75,7 @@ - name: Install pip packages pip: - name: "{{ cinder_pip_packages | join(' ') }}" + name: "{{ cinder_pip_packages }}" state: "{{ cinder_pip_package_state }}" virtualenv: "{{ cinder_bin | dirname }}" virtualenv_site_packages: "no"