From f0aa4dbd84435d5f190d0d05eca992280438b737 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 14 Apr 2018 16:38:40 -0400 Subject: [PATCH] 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: I78ef74b2ad28c8ec2af86f19fd8a186bcb1ca9ad Signed-off-by: Paul Belanger --- tasks/install.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/install.yaml b/tasks/install.yaml index 23d4f39..ca9a697 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -20,9 +20,8 @@ - name: Ensure build dependencies are installed become: yes package: - name: "{{ item }}" + name: "{{ gear_build_depends }}" state: installed - with_items: "{{ gear_build_depends }}" when: gear_install_method == 'git' - name: Define gear_pip_executable if needed.