From 4c284432b50b11ca326625f8602e8dc4110c992e Mon Sep 17 00:00:00 2001 From: David Mehren <git@herrmehren.de> Date: Sat, 7 Jan 2023 17:29:59 +0100 Subject: [PATCH] Update haproxy to 2.7 --- tasks/install.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index a62b056..6d10a40 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,10 +1,15 @@ --- -- name: Add HAProxy 2.6 PPA +- name: Add HAProxy 2.7 PPA ansible.builtin.apt_repository: - repo: 'ppa:vbernat/haproxy-2.6' + repo: 'ppa:vbernat/haproxy-2.7' state: present +- name: Remove HAProxy 2.6 PPA + ansible.builtin.apt_repository: + repo: 'ppa:vbernat/haproxy-2.6' + state: absent + - name: Remove HAProxy 2.5 PPA ansible.builtin.apt_repository: repo: 'ppa:vbernat/haproxy-2.5' @@ -42,7 +47,7 @@ - name: Install HAProxy ansible.builtin.apt: - name: "haproxy=2.6.*" + name: "haproxy=2.7.*" state: present update_cache: true -- GitLab