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:
parent
08f40aa7bd
commit
4223967465
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue