From e5623735e374052b0621194e337feabbabd552d7 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 30 Dec 2024 12:03:28 +0100 Subject: [PATCH] fix(os_deb): simplify additional Debian repos Signed-off-by: Matej Focko --- roles/os_deb/tasks/repositories.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/roles/os_deb/tasks/repositories.yml b/roles/os_deb/tasks/repositories.yml index 9827d81..f6b84b7 100644 --- a/roles/os_deb/tasks/repositories.yml +++ b/roles/os_deb/tasks/repositories.yml @@ -8,7 +8,9 @@ - name: Enable additional Debian repos ansible.builtin.deb822_repository: name: "{{ item.name }}" - types: "{{ item.types }}" + types: + - deb + - deb-src uris: "{{ item.uris }}" suites: "{{ item.suites }}" components: @@ -16,27 +18,12 @@ - non-free state: present loop: - - name: deb-contrib-non_free - types: deb + - name: contrib-non_free uris: http://ftp.sk.debian.org/debian/ suites: "{{ ansible_facts.distribution_release }}" - - name: deb_src-contrib-non_free - types: deb-src - uris: http://ftp.sk.debian.org/debian/ - suites: "{{ ansible_facts.distribution_release }}" - - name: deb-security-contrib-non_free - types: deb + - name: security-contrib-non_free uris: http://security.debian.org/debian-security suites: "{{ ansible_facts.distribution_release }}-security" - - name: deb_src-security-contrib-non_free - types: deb-src - uris: http://security.debian.org/debian-security - suites: "{{ ansible_facts.distribution_release }}-security" - - name: deb-updates-contrib-non_free - types: deb - uris: http://ftp.sk.debian.org/debian/ - suites: "{{ ansible_facts.distribution_release }}-updates" - - name: deb_src-updates-contrib-non_free - types: deb-src + - name: updates-contrib-non_free uris: http://ftp.sk.debian.org/debian/ suites: "{{ ansible_facts.distribution_release }}-updates"