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
|
- name: Enable additional Debian repos
|
||||||
ansible.builtin.deb822_repository:
|
ansible.builtin.deb822_repository:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
types: "{{ item.types }}"
|
types:
|
||||||
|
- deb
|
||||||
|
- deb-src
|
||||||
uris: "{{ item.uris }}"
|
uris: "{{ item.uris }}"
|
||||||
suites: "{{ item.suites }}"
|
suites: "{{ item.suites }}"
|
||||||
components:
|
components:
|
||||||
|
@ -16,27 +18,12 @@
|
||||||
- non-free
|
- non-free
|
||||||
state: present
|
state: present
|
||||||
loop:
|
loop:
|
||||||
- name: deb-contrib-non_free
|
- name: contrib-non_free
|
||||||
types: deb
|
|
||||||
uris: http://ftp.sk.debian.org/debian/
|
uris: http://ftp.sk.debian.org/debian/
|
||||||
suites: "{{ ansible_facts.distribution_release }}"
|
suites: "{{ ansible_facts.distribution_release }}"
|
||||||
- name: deb_src-contrib-non_free
|
- name: security-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
|
|
||||||
uris: http://security.debian.org/debian-security
|
uris: http://security.debian.org/debian-security
|
||||||
suites: "{{ ansible_facts.distribution_release }}-security"
|
suites: "{{ ansible_facts.distribution_release }}-security"
|
||||||
- name: deb_src-security-contrib-non_free
|
- name: updates-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
|
|
||||||
uris: http://ftp.sk.debian.org/debian/
|
uris: http://ftp.sk.debian.org/debian/
|
||||||
suites: "{{ ansible_facts.distribution_release }}-updates"
|
suites: "{{ ansible_facts.distribution_release }}-updates"
|
||||||
|
|
Loading…
Reference in a new issue