fix(os_deb): simplify additional Debian repos
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
a6d99338d6
commit
e5623735e3
1 changed files with 6 additions and 19 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue