From 5403e003b89d60b05c6c3565de7bc67e25c169b3 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 9 Nov 2016 21:33:54 +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: Ib2fa56715968daa27c0ddc45941dac996a323c03 --- tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 5d91001..08d1372 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -28,7 +28,7 @@ - name: Install requires pip packages pip: - name: "{{ magnum_requires_pip_packages | join(' ') }}" + name: "{{ magnum_requires_pip_packages }}" state: "{{ magnum_pip_package_state }}" extra_args: >- {{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }} @@ -70,7 +70,7 @@ - name: Install pip packages pip: - name: "{{ magnum_pip_packages | join(' ') }}" + name: "{{ magnum_pip_packages }}" state: "{{ magnum_pip_package_state }}" virtualenv: "{{ magnum_bin | dirname }}" virtualenv_site_packages: "no"