From 03cdc4f2e53e628e59852b0c5f37c0cca6b3ae7a Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 16 May 2017 15:00:09 -0500 Subject: [PATCH] Pass package list as a list This patch passes the list of packages to install as a list rather then using the slower with_items. Change-Id: Id8f356fbf92101c4f21e16ac28893deb26f2b0b3 --- tests/roles/bootstrap-host/tasks/install_packages.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/roles/bootstrap-host/tasks/install_packages.yml b/tests/roles/bootstrap-host/tasks/install_packages.yml index 5eca876f84..3d7e95f17b 100644 --- a/tests/roles/bootstrap-host/tasks/install_packages.yml +++ b/tests/roles/bootstrap-host/tasks/install_packages.yml @@ -92,17 +92,15 @@ - name: Remove known problem packages package: - name: "{{ item }}" + name: "{{ packages_remove }}" state: absent - with_items: "{{ packages_remove }}" tags: - remove-packages - name: Install packages package: - name: "{{ item }}" + name: "{{ packages_install }}" state: present - with_items: "{{ packages_install }}" tags: - install-packages