From 992fe2043c0585dc79882b479808916cd770b2bb Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 23 Dec 2020 14:52:10 +0100
Subject: [PATCH] ansible/roles/haproxy#12 Update to 2.2 for Ubuntu 18 and
 higher

---
 tasks/install.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tasks/install.yml b/tasks/install.yml
index a8d3d0b..8b4c833 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -7,7 +7,8 @@
     state: present
     mode: 0644
   with_items:
-    - ppa:vbernat/haproxy-2.0
+    - ppa:vbernat/haproxy-2.2
+  when: ansible_distribution_major_version != "16"
 
 - name: Install some packages
   apt:
-- 
GitLab