From 290c680d96162a267ff8c845cb6b19b5620344b5 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Thu, 21 Jan 2016 15:40:05 +0000 Subject: [PATCH] Make all install actions consistently use with_items This is primarily a style fix, not a functional one. Related-Bug: #1495748 Change-Id: Ia34e01bced2d0287dab5353f975f36f9323cd205 --- tasks/swift_install.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tasks/swift_install.yml b/tasks/swift_install.yml index 41d3c073..b67b8797 100644 --- a/tasks/swift_install.yml +++ b/tasks/swift_install.yml @@ -46,8 +46,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ swift_requires_pip_packages }}" + with_items: swift_requires_pip_packages tags: - swift-install - swift-pip-packages @@ -115,8 +114,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ swift_pip_packages }}" + with_items: swift_pip_packages when: - swift_venv_enabled | bool - swift_get_venv | failed @@ -133,9 +131,8 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ swift_pip_packages }}" + with_items: swift_pip_packages when: not swift_venv_enabled | bool tags: - swift-install - - swift-pip-packages \ No newline at end of file + - swift-pip-packages