diff --git a/tasks/install.yml b/tasks/install.yml index 9dd021baeb229f7a83926948c9c94be50f87523e..eb4c8315759c1ad0de3fe0821ea5757975037a74 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,10 +1,15 @@ --- -- name: Add HAProxy 2.5 PPA +- name: Add HAProxy 2.6 PPA apt_repository: - repo: 'ppa:vbernat/haproxy-2.5' + repo: 'ppa:vbernat/haproxy-2.6' state: present +- name: Remove HAProxy 2.5 PPA + apt_repository: + repo: 'ppa:vbernat/haproxy-2.5' + state: absent + - name: Remove HAProxy 2.4 PPA apt_repository: repo: 'ppa:vbernat/haproxy-2.4' @@ -37,7 +42,7 @@ - name: Install HAProxy apt: - name: "haproxy=2.5.*" + name: "haproxy=2.6.*" state: present update_cache: yes