2024-12-26 15:42:04 +01:00
|
|
|
---
|
|
|
|
- name: Disable installation DVD as a source
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
path: /etc/apt/sources.list
|
|
|
|
regexp: "^deb cdrom:"
|
|
|
|
state: absent
|
|
|
|
|
2024-12-29 17:50:31 +01:00
|
|
|
- name: Enable additional Debian repos
|
|
|
|
ansible.builtin.deb822_repository:
|
|
|
|
name: "{{ item.name }}"
|
2024-12-30 12:03:28 +01:00
|
|
|
types:
|
|
|
|
- deb
|
|
|
|
- deb-src
|
2024-12-29 17:50:31 +01:00
|
|
|
uris: "{{ item.uris }}"
|
|
|
|
suites: "{{ item.suites }}"
|
|
|
|
components:
|
|
|
|
- contrib
|
|
|
|
- non-free
|
2024-12-26 15:42:04 +01:00
|
|
|
state: present
|
|
|
|
loop:
|
2024-12-30 12:03:28 +01:00
|
|
|
- name: contrib-non_free
|
2024-12-29 17:50:31 +01:00
|
|
|
uris: http://ftp.sk.debian.org/debian/
|
|
|
|
suites: "{{ ansible_facts.distribution_release }}"
|
2024-12-30 12:03:28 +01:00
|
|
|
- name: security-contrib-non_free
|
2024-12-29 17:50:31 +01:00
|
|
|
uris: http://security.debian.org/debian-security
|
|
|
|
suites: "{{ ansible_facts.distribution_release }}-security"
|
2024-12-30 12:03:28 +01:00
|
|
|
- name: updates-contrib-non_free
|
2024-12-29 17:50:31 +01:00
|
|
|
uris: http://ftp.sk.debian.org/debian/
|
|
|
|
suites: "{{ ansible_facts.distribution_release }}-updates"
|