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:
Jesse Pretorius 2016-11-09 21:34:28 +00:00
parent 000b2458eb
commit c63ddb0652
5 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"