Set sources.list on Debian 12
This commit is contained in:
parent
b04b841b24
commit
16911213fc
1 changed files with 9 additions and 0 deletions
|
@ -19,12 +19,21 @@
|
|||
src: sources.list.10
|
||||
dest: "/etc/apt/sources.list"
|
||||
when: ansible_distribution_version == "10"
|
||||
|
||||
- name: Set APT sources.list for Debian 11
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: sources.list.11
|
||||
dest: "/etc/apt/sources.list"
|
||||
when: ansible_distribution_version == "11"
|
||||
|
||||
- name: Set APT sources.list for Debian 12
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: sources.list.12
|
||||
dest: "/etc/apt/sources.list"
|
||||
when: ansible_distribution_version == "12"
|
||||
|
||||
- name: Update APT cache
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
|
|
Loading…
Reference in a new issue