diff --git a/meta/main.yml b/meta/main.yml
index 06fb8bf8dded46d45e68bdd2edb1212f2a5b5c60..1c6df690cafc1d20598bf2222d929d0373e216e5 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -5,7 +5,7 @@ galaxy_info:
   license: Apache-2.0
   min_ansible_version: "2.9"
   platforms:
-    - name: Ubuntu
+    - name: Debian
       versions:
-        - all
+        - 12
 dependencies: []
diff --git a/tasks/install.yml b/tasks/install.yml
index 1ef4aeb9700ad8909a2cd1c5c63678497a078af6..aac8ae1f987e3f7f037f7778bd45a63bf062c0fa 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -1,25 +1,22 @@
 ---
+- name: Add HAProxy apt key
+  ansible.builtin.apt_key:
+    url: https://haproxy.debian.net/bernat.debian.org.gpg
+    state: present
 
-- name: Add HAProxy 2.9 PPA
+- name: Add HAProxy apt repository
   ansible.builtin.apt_repository:
-    repo: 'ppa:vbernat/haproxy-2.9'
+    repo: 'deb [signed-by=AEF2348766F371C689A7360095A42FE8353525F9] http://haproxy.debian.net bookworm-backports-2.9 main'
+    filename: haproxy-2.9
     state: present
 
-- name: Remove old HAProxy PPAs
+- name: Remove old HAProxy apt repositories
   ansible.builtin.apt_repository:
-    repo: "ppa:vbernat/haproxy-{{ item }}"
+    repo: "deb [signed-by=AEF2348766F371C689A7360095A42FE8353525F9] http://haproxy.debian.net bookworm-backports-{{ item }} main"
+    filename: haproxy-{{ item }}
     state: absent
   loop:
     - "2.8"
-    - "2.7"
-    - "2.6"
-    - "2.5"
-    - "2.4"
-    - "2.3"
-    - "2.2"
-    - "2.1"
-    - "2.0"
-    - "1.8"
 
 - name: Install HAProxy
   ansible.builtin.apt: