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: I5daf0a42537ca659d7c43b0aae4e0596e82398fc
This commit is contained in:
parent
000b2458eb
commit
c63ddb0652
@ -48,7 +48,7 @@
|
||||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ nova_compute_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_compute_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
virtualenv: "{{ nova_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
- name: Install pip packages (venv)
|
||||
pip:
|
||||
name: "{{ nova_compute_lxd_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_compute_lxd_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
virtualenv: "{{ nova_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
@ -70,7 +70,7 @@
|
||||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ nova_compute_powervm_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_compute_powervm_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
virtualenv: "{{ nova_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ nova_novnc_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_novnc_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
virtualenv: "{{ nova_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
- name: Install requires pip packages
|
||||
pip:
|
||||
name: "{{ nova_requires_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_requires_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
extra_args: >-
|
||||
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
|
||||
@ -87,7 +87,7 @@
|
||||
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ nova_pip_packages | join(' ') }}"
|
||||
name: "{{ nova_pip_packages }}"
|
||||
state: "{{ nova_pip_package_state }}"
|
||||
virtualenv: "{{ nova_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
|
Loading…
Reference in New Issue
Block a user