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