From 37597ade1c9a21cefddc556d663951975b784a37 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 25 Feb 2019 22:34:42 +0200 Subject: Change: use apt with list of packages, intead of looping --- roles/haproxy/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roles/haproxy') diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index 4a9b717..6a88f31 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -109,8 +109,7 @@ - name: enable and start haproxy service: - name: "{{ item }}" state: restarted enabled: yes - with_items: + name: - haproxy -- cgit v1.2.1