merge common-bitlair into common
This commit is contained in:
parent
b210abc77e
commit
7d59c108d6
25 changed files with 93 additions and 42 deletions
|
@ -6,15 +6,25 @@
|
|||
when: ansible_facts['distribution_release'] != "bookworm"
|
||||
tags: [ debian-upgrade, never ]
|
||||
|
||||
- name: Import debian-backports.yaml
|
||||
ansible.builtin.import_tasks:
|
||||
file: debian-backports.yaml
|
||||
- name: Apt config and sources.list
|
||||
ansible.builtin.template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: "{{ item.mode | default('0644') }}"
|
||||
owner: "{{ item.owner | default('root') }}"
|
||||
group: "{{ item.group | default('root') }}"
|
||||
with_items:
|
||||
- { src: "apt.conf.j2", dest: "/etc/apt/apt.conf" }
|
||||
- { src: "sources.list.j2", dest: "/etc/apt/sources.list" }
|
||||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
tags:
|
||||
- sourceslist
|
||||
|
||||
tags: debian_backports
|
||||
|
||||
- tags: unattended_updates
|
||||
- name: Import unattended-updates
|
||||
ansible.builtin.import_tasks:
|
||||
file: unattended-updates.yaml
|
||||
tags: unattended_updates
|
||||
|
||||
- tags: apt-minimal
|
||||
ansible.builtin.import_tasks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue