Pass list of packages directly to package task

There is no need to loop over the list of packages, this is actually
slower.

Change-Id: Ifd7d9b9608d25b7078a215bce57babf18c4abce6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-14 16:41:13 -04:00
parent 3a137fd752
commit cd931ba37c
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -20,9 +20,8 @@
- name: Ensure build dependencies are installed. - name: Ensure build dependencies are installed.
become: yes become: yes
package: package:
name: "{{ item }}" name: "{{ zuul_build_depends }}"
state: installed state: installed
with_items: "{{ zuul_build_depends }}"
when: zuul_install_method == 'git' when: zuul_install_method == 'git'
- name: Define zuul_pip_executable if needed. - name: Define zuul_pip_executable if needed.