From 4223967465e9718346382bb9b628909490491170 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 14 Apr 2018 16:39:37 -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: I38361ccc9a5c84b8d2cff8fe813475e115e47bf0 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 f557d67..de78f3b 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: "{{ nodepool_build_depends }}" state: installed - with_items: "{{ nodepool_build_depends }}" when: nodepool_install_method == 'git' - name: Define nodepool_pip_executable if needed.