diff --git a/apt/tasks/repositories.yml b/apt/tasks/repositories.yml
index f65bf981a2ac45e82f53ccdaa7cf8548eb442111..43af1eebbfa89f0d9b347767e016913b4b4f0790 100644
--- a/apt/tasks/repositories.yml
+++ b/apt/tasks/repositories.yml
@@ -47,7 +47,7 @@
     repo: "deb{{ src }} {{ apt_mirror_security }} {{ ansible_distribution_release }}{{ item[1] }} {{ item[0] }}"
   with_nested:
     - "{{ apt_repos }}"
-    - ['/updates']
+    - "{{ ['/updates'] if ansible_distribution_major_version|int(default=99) < 11 else ['-security'] }}"
   when: not raspbian_has_no_security
   notify:
     - update apt cache
@@ -61,7 +61,7 @@
     repo: "deb{{ src }} {{ apt_mirror_security }} {{ ansible_distribution_release }}{{ item[1] }} {{ item[0] }}"
   with_nested:
     - "{{ ['main', 'contrib', 'non-free']|difference(apt_repos) }}"
-    - ['/updates']
+    - "{{ ['/updates'] if ansible_distribution_major_version|int(default=99) < 11 else ['-security'] }}"
   when: not raspbian_has_no_security
   notify:
     - update apt cache