dotfiles/roles/os_deb/tasks/repositories.yml

19 lines
949 B
YAML
Raw Normal View History

---
- name: Disable installation DVD as a source
ansible.builtin.lineinfile:
path: /etc/apt/sources.list
regexp: "^deb cdrom:"
state: absent
- name: Enable additional repository
ansible.builtin.apt_repository:
repo: "{{ item }}"
state: present
loop:
- deb http://ftp.sk.debian.org/debian/ {{ ansible_facts.distribution_release }} contrib non-free
- deb-src http://ftp.sk.debian.org/debian/ {{ ansible_facts.distribution_release }} contrib non-free
- deb http://security.debian.org/debian-security {{ ansible_facts.distribution_release }}-security contrib non-free
- deb-src http://security.debian.org/debian-security {{ ansible_facts.distribution_release }}-security contrib non-free
- deb http://ftp.sk.debian.org/debian/ {{ ansible_facts.distribution_release }}-updates contrib non-free
- deb-src http://ftp.sk.debian.org/debian/ {{ ansible_facts.distribution_release }}-updates contrib non-free