From 85a9f3b5b9dbefd12c4839b2c2f894b91134a866 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 14 Apr 2018 16:40:33 -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: I0efdfbe3ba066ccab4bf3e3ff661bcba088984e1 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 9dc14eb..f7fa351 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: "{{ shade_build_depends }}" state: installed - with_items: "{{ shade_build_depends }}" when: shade_install_method == 'git' or shade_install_method == 'pip' - name: Define shade_pip_executable if needed.