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: If930f4ac68cb48148c0962338a5bd346ebea3dbc
This commit is contained in:
parent
8ea0b5118d
commit
afa2fba42b
|
@ -31,7 +31,7 @@
|
|||
|
||||
- name: Install requires pip packages
|
||||
pip:
|
||||
name: "{{ monasca_requires_pip_packages | join(' ') }}"
|
||||
name: "{{ monasca_requires_pip_packages }}"
|
||||
state: "{{ monasca_pip_package_state }}"
|
||||
extra_args: >-
|
||||
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
|
||||
|
@ -74,7 +74,7 @@
|
|||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ monasca_pip_packages | join(' ') }}"
|
||||
name: "{{ monasca_pip_packages }}"
|
||||
state: "{{ monasca_pip_package_state }}"
|
||||
virtualenv: "{{ monasca_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
|
Loading…
Reference in New Issue