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: I630ceadba486c10e5b8b913a0d18e1af0e1ccbc3
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
- name: Install required pip packages
|
||||
pip:
|
||||
name: "{{ trove_requires_pip_packages | join(' ') }}"
|
||||
name: "{{ trove_requires_pip_packages }}"
|
||||
state: "{{ trove_pip_package_state }}"
|
||||
extra_args: >-
|
||||
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ trove_pip_packages | join(' ') }}"
|
||||
name: "{{ trove_pip_packages }}"
|
||||
state: "{{ trove_pip_package_state }}"
|
||||
virtualenv: "{{ trove_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
||||
Reference in New Issue
Block a user