diff --git a/tasks/install.yml b/tasks/install.yml index 5b9cd1e74dbbac692db9c41f9e87ae57ff9e5a1c..4918401027fc95f2eb74c46d3350849bc55a74d3 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,10 +1,15 @@ --- -- name: Add HAProxy 2.1 PPA +- name: Add HAProxy 2.2 PPA apt_repository: - repo: 'ppa:vbernat/haproxy-2.1' + repo: 'ppa:vbernat/haproxy-2.2' state: present +- name: Remove HAProxy 2.1 PPA + apt_repository: + repo: 'ppa:vbernat/haproxy-2.1' + state: absent + - name: Remove HAProxy 2.0 PPA apt_repository: repo: 'ppa:vbernat/haproxy-2.0' @@ -17,7 +22,7 @@ - name: Install HAProxy apt: - name: "haproxy=2.1.*" + name: "haproxy=2.2.*" state: present update_cache: yes