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:
Paul Belanger 2018-04-14 16:38:40 -04:00
parent de768e85b3
commit f0aa4dbd84
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 2 deletions

View File

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