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:
Paul Belanger 2018-04-15 15:31:22 -04:00
parent 1e5c3995e1
commit bbea5a51bd
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 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"