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