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: Ifbeae6a808f6c8be34cd7bb4d3a8d8e7ba1e5c9d
This commit is contained in:
Jesse Pretorius 2016-11-09 21:35:43 +00:00
parent 038e3c1cf6
commit fd78cdf252
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
- name: Install requires pip packages
pip:
name: "{{ zaqar_requires_pip_packages | join(' ') }}"
name: "{{ zaqar_requires_pip_packages }}"
state: "{{ zaqar_pip_package_state }}"
extra_args: >-
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
@ -105,7 +105,7 @@
- name: Install pip packages (venv)
pip:
name: "{{ zaqar_pip_packages | join(' ') }}"
name: "{{ zaqar_pip_packages }}"
state: "{{ zaqar_pip_package_state }}"
virtualenv: "{{ zaqar_bin | dirname }}"
virtualenv_site_packages: "no"