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