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: I78ef74b2ad28c8ec2af86f19fd8a186bcb1ca9ad Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
de768e85b3
commit
f0aa4dbd84
@ -20,9 +20,8 @@
|
||||
- name: Ensure build dependencies are installed
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name: "{{ gear_build_depends }}"
|
||||
state: installed
|
||||
with_items: "{{ gear_build_depends }}"
|
||||
when: gear_install_method == 'git'
|
||||
|
||||
- name: Define gear_pip_executable if needed.
|
||||
|
Loading…
Reference in New Issue
Block a user