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: I0efdfbe3ba066ccab4bf3e3ff661bcba088984e1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-14 16:40:33 -04:00
parent 8a55c99ca1
commit 85a9f3b5b9
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.
become: yes
package:
name: "{{ item }}"
name: "{{ shade_build_depends }}"
state: installed
with_items: "{{ shade_build_depends }}"
when: shade_install_method == 'git' or shade_install_method == 'pip'
- name: Define shade_pip_executable if needed.