From e724cea628b7bf71f5180d8a66e87134fd7234ce Mon Sep 17 00:00:00 2001
From: Andrea Dell'Amico <andrea.dellamico@isti.cnr.it>
Date: Wed, 5 Aug 2020 19:12:00 +0200
Subject: [PATCH] Switch to version 2.2 by default.

---
 defaults/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/defaults/main.yml b/defaults/main.yml
index 415e3c6..c6d936c 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,10 +1,10 @@
 ---
 haproxy_latest_release: True
-haproxy_version: 2.0
+haproxy_version: 2.2
 haproxy_repo_key: 'http://haproxy.debian.net/bernat.debian.org.gpg'
 haproxy_debian_latest_repo: "deb http://haproxy.debian.net {{ ansible_lsb.codename }}-backports-{{ haproxy_version }} main"
 haproxy_ubuntu_latest_repo: "ppa:vbernat/haproxy-{{ haproxy_version }}"
-haproxy_pkg_state: latest
+haproxy_pkg_state: present
 haproxy_enabled: True
 haproxy_k_bind_non_local_ip: True