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: I8ffb9038ae06ba476edfeed1aefc65319719f59f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
1e5c3995e1
commit
bbea5a51bd
@ -20,9 +20,8 @@
|
||||
- name: Ensure dependencies are installed.
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name: "{{ statsd_build_depends }}"
|
||||
state: installed
|
||||
with_items: "{{ statsd_build_depends }}"
|
||||
when: statsd_install_method == 'git'
|
||||
|
||||
- include: "install/{{ statsd_install_method }}.yaml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user