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:
parent
3a137fd752
commit
cd931ba37c
@ -20,9 +20,8 @@
|
||||
- name: Ensure build dependencies are installed.
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name: "{{ zuul_build_depends }}"
|
||||
state: installed
|
||||
with_items: "{{ zuul_build_depends }}"
|
||||
when: zuul_install_method == 'git'
|
||||
|
||||
- name: Define zuul_pip_executable if needed.
|
||||
|
Loading…
Reference in New Issue
Block a user