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: I38361ccc9a5c84b8d2cff8fe813475e115e47bf0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-14 16:39:37 -04:00
parent 08f40aa7bd
commit 4223967465
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: "{{ nodepool_build_depends }}"
state: installed
with_items: "{{ nodepool_build_depends }}"
when: nodepool_install_method == 'git'
- name: Define nodepool_pip_executable if needed.