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: I085783169f9f9036f4f045eb8eb123f0b333d0f2
This commit is contained in:
Jesse Pretorius 2016-11-21 17:48:01 +00:00
parent 6af61c59a4
commit f4b65b8ded

View File

@ -81,7 +81,7 @@
- name: Install pip packages
pip:
name: "{{ client_list.stdout_lines | union(utility_pip_packages) | join(' ') }}"
name: "{{ client_list.stdout_lines | union(utility_pip_packages) }}"
state: "{{ utility_pip_package_state }}"
extra_args: >-
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}