Add deb822 source templates for Debian backports and security repositories
This commit is contained in:
+166
-23
@@ -1,4 +1,13 @@
|
|||||||
---
|
---
|
||||||
|
- name: (apt.yml) Delete Hetzner files 'hetzner-mirror.list' and 'hetzner-security-updates.list'
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: absent
|
||||||
|
with_items:
|
||||||
|
- /etc/apt/sources.list.d/hetzner-mirror.list
|
||||||
|
- /etc/apt/sources.list.d/hetzner-security-updates.list
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
- name: (apt.yml) update configuration file - /etc/apt/sources.list
|
- name: (apt.yml) update configuration file - /etc/apt/sources.list
|
||||||
template:
|
template:
|
||||||
@@ -15,6 +24,138 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-configuration
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) Ensure Debian archive keyring is present for deb822 Signed-By (Debian >= 13)
|
||||||
|
apt:
|
||||||
|
name: debian-archive-keyring
|
||||||
|
state: present
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
- apt_deb822_use_signed_by | default(true) | bool
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) backup legacy /etc/apt/sources.list before deb822 migration (Debian >= 13)
|
||||||
|
copy:
|
||||||
|
src: /etc/apt/sources.list
|
||||||
|
dest: /etc/apt/sources.list.before-deb822
|
||||||
|
remote_src: true
|
||||||
|
force: false
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
failed_when:
|
||||||
|
- apt_sources_list_backup.failed
|
||||||
|
- "'No such file or directory' not in (apt_sources_list_backup.msg | default(''))"
|
||||||
|
register: apt_sources_list_backup
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) replace /etc/apt/sources.list with deb822 notice (Debian >= 13)
|
||||||
|
copy:
|
||||||
|
dest: /etc/apt/sources.list
|
||||||
|
content: |
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
# Verwaltet via Ansible. Repositories liegen in /etc/apt/sources.list.d/*.sources (deb822).
|
||||||
|
# Zielrelease: {{ ansible_facts['distribution_release'] }}
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
register: apt_config_updated_sources_list
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) configure deb822 Debian repository (Debian >= 13)
|
||||||
|
template:
|
||||||
|
src: "etc/apt/deb822/debian.sources.j2"
|
||||||
|
dest: /etc/apt/sources.list.d/debian.sources
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
register: apt_config_updated_debian_sources
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) configure deb822 security repository (Debian >= 13)
|
||||||
|
template:
|
||||||
|
src: "etc/apt/deb822/security.sources.j2"
|
||||||
|
dest: /etc/apt/sources.list.d/security.sources
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
register: apt_config_updated_security_sources
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
- name: (apt.yml) configure deb822 backports repository (Debian >= 13)
|
||||||
|
template:
|
||||||
|
src: "etc/apt/deb822/backports.sources.j2"
|
||||||
|
dest: /etc/apt/sources.list.d/backports.sources
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
register: apt_config_updated_backports_sources
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
- apt_backports_enable | default(false) | bool
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
# If 'backports' was enabled in a previous run but is now disabled.
|
||||||
|
#
|
||||||
|
- name: (apt.yml) remove deb822 backports repository when disabled (Debian >= 13)
|
||||||
|
file:
|
||||||
|
path: /etc/apt/sources.list.d/backports.sources
|
||||||
|
state: absent
|
||||||
|
register: apt_config_removed_backports_sources
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
- not (apt_backports_enable | default(false) | bool)
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
|
# Collect change states from all Debian >=13 deb822 source tasks so apt update
|
||||||
|
# can force a fresh cache refresh when repository files changed.
|
||||||
|
- name: (apt.yml) aggregate deb822 source changes (Debian >= 13)
|
||||||
|
set_fact:
|
||||||
|
apt_config_updated:
|
||||||
|
changed: >-
|
||||||
|
{{
|
||||||
|
(apt_config_updated_sources_list.changed | default(false))
|
||||||
|
or (apt_config_updated_debian_sources.changed | default(false))
|
||||||
|
or (apt_config_updated_security_sources.changed | default(false))
|
||||||
|
or (apt_config_updated_backports_sources.changed | default(false))
|
||||||
|
or (apt_config_removed_backports_sources.changed | default(false))
|
||||||
|
}}
|
||||||
|
when:
|
||||||
|
- apt_manage_sources_list|bool
|
||||||
|
- ansible_facts['distribution'] == 'Debian'
|
||||||
|
- (ansible_facts['distribution_major_version'] | int) >= 13
|
||||||
|
tags:
|
||||||
|
- apt-configuration
|
||||||
|
|
||||||
- name: (apt.yml) apt update
|
- name: (apt.yml) apt update
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
@@ -29,7 +170,6 @@
|
|||||||
- apt-compiler-pkgs
|
- apt-compiler-pkgs
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Configure any half-installed packages 'dpkg --configure -a'
|
- name: (apt.yml) Configure any half-installed packages 'dpkg --configure -a'
|
||||||
ansible.builtin.command: dpkg --configure -a
|
ansible.builtin.command: dpkg --configure -a
|
||||||
register: _dpkg_configure
|
register: _dpkg_configure
|
||||||
@@ -43,7 +183,6 @@
|
|||||||
- apt-compiler-pkgs
|
- apt-compiler-pkgs
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) apt upgrade
|
- name: (apt.yml) apt upgrade
|
||||||
apt:
|
apt:
|
||||||
upgrade: "{{ apt_upgrade_type }}"
|
upgrade: "{{ apt_upgrade_type }}"
|
||||||
@@ -57,7 +196,6 @@
|
|||||||
- apt-compiler-pkgs
|
- apt-compiler-pkgs
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install debian packages (stretch)
|
- name: (apt.yml) Initial install debian packages (stretch)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_stretch }}"
|
name: "{{ apt_initial_install_stretch }}"
|
||||||
@@ -69,11 +207,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install debian packages (buster)
|
- name: (apt.yml) Initial install debian packages (buster)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_buster }}"
|
name: "{{ apt_initial_install_buster }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- apt_initial_install_buster is defined and apt_initial_install_buster|length > 0
|
- apt_initial_install_buster is defined and apt_initial_install_buster|length > 0
|
||||||
- ansible_facts['distribution'] == "Debian"
|
- ansible_facts['distribution'] == "Debian"
|
||||||
@@ -81,11 +220,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install debian packages (bullseye)
|
- name: (apt.yml) Initial install debian packages (bullseye)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_bullseye }}"
|
name: "{{ apt_initial_install_bullseye }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- apt_initial_install_bullseye is defined and apt_initial_install_bullseye|length > 0
|
- apt_initial_install_bullseye is defined and apt_initial_install_bullseye|length > 0
|
||||||
- ansible_facts['distribution'] == "Debian"
|
- ansible_facts['distribution'] == "Debian"
|
||||||
@@ -93,11 +233,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install debian packages (bookworm)
|
- name: (apt.yml) Initial install debian packages (bookworm)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_bookworm }}"
|
name: "{{ apt_initial_install_bookworm }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- apt_initial_install_bookworm is defined and apt_initial_install_bookworm|length > 0
|
- apt_initial_install_bookworm is defined and apt_initial_install_bookworm|length > 0
|
||||||
- ansible_facts['distribution'] == "Debian"
|
- ansible_facts['distribution'] == "Debian"
|
||||||
@@ -105,11 +246,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install debian packages (trixie)
|
- name: (apt.yml) Initial install debian packages (trixie)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_trixie }}"
|
name: "{{ apt_initial_install_trixie }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- apt_initial_install_trixie is defined and apt_initial_install_trixie|length > 0
|
- apt_initial_install_trixie is defined and apt_initial_install_trixie|length > 0
|
||||||
- ansible_facts['distribution'] == "Debian"
|
- ansible_facts['distribution'] == "Debian"
|
||||||
@@ -117,11 +259,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Initial install ubuntu packages (bionic)
|
- name: (apt.yml) Initial install ubuntu packages (bionic)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_bionic }}"
|
name: "{{ apt_initial_install_bionic }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
- ansible_facts['distribution_release'] == "bionic"
|
- ansible_facts['distribution_release'] == "bionic"
|
||||||
@@ -132,6 +275,8 @@
|
|||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_xenial }}"
|
name: "{{ apt_initial_install_xenial }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
- ansible_facts['distribution_release'] == "xenial"
|
- ansible_facts['distribution_release'] == "xenial"
|
||||||
@@ -142,6 +287,8 @@
|
|||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_jammy }}"
|
name: "{{ apt_initial_install_jammy }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
- ansible_facts['distribution_release'] == "jammy"
|
- ansible_facts['distribution_release'] == "jammy"
|
||||||
@@ -152,13 +299,14 @@
|
|||||||
apt:
|
apt:
|
||||||
name: "{{ apt_initial_install_ubuntu_noble }}"
|
name: "{{ apt_initial_install_ubuntu_noble }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
- ansible_facts['distribution_release'] == "noble"
|
- ansible_facts['distribution_release'] == "noble"
|
||||||
tags:
|
tags:
|
||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Microcode
|
# Microcode
|
||||||
# ---
|
# ---
|
||||||
@@ -176,7 +324,6 @@
|
|||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
- apt-microcode
|
- apt-microcode
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Install CPU microcode (debian buster/bullseye/bookworm/trixie)
|
- name: (apt.yml) Install CPU microcode (debian buster/bullseye/bookworm/trixie)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ microcode_package }}"
|
name: "{{ microcode_package }}"
|
||||||
@@ -190,7 +337,6 @@
|
|||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
- apt-microcode
|
- apt-microcode
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Install CPU microcode (ubuntu bionic)
|
- name: (apt.yml) Install CPU microcode (ubuntu bionic)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ microcode_package }}"
|
name: "{{ microcode_package }}"
|
||||||
@@ -204,7 +350,6 @@
|
|||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
- apt-microcode
|
- apt-microcode
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Install CPU microcode (ubuntu xenial)
|
- name: (apt.yml) Install CPU microcode (ubuntu xenial)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ microcode_package }}"
|
name: "{{ microcode_package }}"
|
||||||
@@ -218,7 +363,6 @@
|
|||||||
- apt-initial-install
|
- apt-initial-install
|
||||||
- apt-microcode
|
- apt-microcode
|
||||||
|
|
||||||
|
|
||||||
- name: (apt.yml) Install CPU microcode (ubuntu jammy)
|
- name: (apt.yml) Install CPU microcode (ubuntu jammy)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ microcode_package }}"
|
name: "{{ microcode_package }}"
|
||||||
@@ -291,9 +435,9 @@
|
|||||||
name: "{{ apt_webserver_pkgs }}"
|
name: "{{ apt_webserver_pkgs }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
when:
|
when:
|
||||||
- install_webserver_pkgs|bool
|
- install_webserver_pkgs|bool
|
||||||
- ansible_facts['os_family'] == 'Debian'
|
- ansible_facts['os_family'] == 'Debian'
|
||||||
- ansible_facts['distribution_major_version'] | int <= 12
|
- ansible_facts['distribution_major_version'] | int <= 12
|
||||||
tags:
|
tags:
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
|
|
||||||
@@ -302,15 +446,15 @@
|
|||||||
name: "{{ apt_webserver_pkgs_trixie }}"
|
name: "{{ apt_webserver_pkgs_trixie }}"
|
||||||
state: "{{ apt_install_state }}"
|
state: "{{ apt_install_state }}"
|
||||||
when:
|
when:
|
||||||
- install_webserver_pkgs|bool
|
- install_webserver_pkgs|bool
|
||||||
- ansible_facts['os_family'] == 'Debian'
|
- ansible_facts['os_family'] == 'Debian'
|
||||||
- ansible_facts['distribution_major_version'] | int >= 13
|
- ansible_facts['distribution_major_version'] | int >= 13
|
||||||
tags:
|
tags:
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
|
|
||||||
- name: (apt.yml) Install samba related packages
|
- name: (apt.yml) Install samba related packages
|
||||||
package:
|
package:
|
||||||
pkg: '{{ apt_install_server_samba }}'
|
pkg: "{{ apt_install_server_samba }}"
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- "groups['samba_server']|string is search(inventory_hostname)"
|
- "groups['samba_server']|string is search(inventory_hostname)"
|
||||||
@@ -379,8 +523,8 @@
|
|||||||
path: /usr/local/mysql/etc/my.cnf
|
path: /usr/local/mysql/etc/my.cnf
|
||||||
register: usr_local_mysql_etc_my_cnf
|
register: usr_local_mysql_etc_my_cnf
|
||||||
when: groups['mysql_server']|string is search(inventory_hostname) or
|
when: groups['mysql_server']|string is search(inventory_hostname) or
|
||||||
groups['apache2_webserver']|string is search(inventory_hostname) or
|
groups['apache2_webserver']|string is search(inventory_hostname) or
|
||||||
groups['nextcloud_server']|string is search(inventory_hostname)
|
groups['nextcloud_server']|string is search(inventory_hostname)
|
||||||
tags:
|
tags:
|
||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
- apt-mysql-server-pkgs
|
- apt-mysql-server-pkgs
|
||||||
@@ -410,4 +554,3 @@
|
|||||||
- apt-webserver-pkgs
|
- apt-webserver-pkgs
|
||||||
- apt-mysql-server-pkgs
|
- apt-mysql-server-pkgs
|
||||||
- check_mysql_cnf
|
- check_mysql_cnf
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
# Managed by Ansible: deb822 definition for the Debian backports repository.
|
||||||
|
# It enables deb-src only when apt_src_enable is true and sets Signed-By only
|
||||||
|
# when apt_deb822_use_signed_by is enabled.
|
||||||
|
Types: {{ 'deb deb-src' if apt_src_enable | default(true) | bool else 'deb' }}
|
||||||
|
URIs: {{ apt_debian_mirror }}
|
||||||
|
Suites: {{ ansible_facts['distribution_release'] }}-backports
|
||||||
|
Components: main contrib non-free non-free-firmware
|
||||||
|
{% if apt_deb822_use_signed_by | default(true) | bool %}
|
||||||
|
Signed-By: {{ apt_deb822_signed_by_keyring | default('/usr/share/keyrings/debian-archive-keyring.gpg') }}
|
||||||
|
{% endif %}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
# Verwaltet via Ansible - Debian Basis & Updates fuer {{ ansible_facts['distribution_release'] }}
|
||||||
|
Types: {{ 'deb deb-src' if apt_src_enable | default(true) | bool else 'deb' }}
|
||||||
|
URIs: {{ apt_debian_mirror }}
|
||||||
|
Suites: {{ ansible_facts['distribution_release'] }} {{ ansible_facts['distribution_release'] }}-updates
|
||||||
|
Components: main contrib non-free non-free-firmware
|
||||||
|
{% if apt_deb822_use_signed_by | default(true) | bool %}
|
||||||
|
Signed-By: {{ apt_deb822_signed_by_keyring | default('/usr/share/keyrings/debian-archive-keyring.gpg') }}
|
||||||
|
{% endif %}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
# Verwaltet via Ansible - Security fuer {{ ansible_facts['distribution_release'] }}
|
||||||
|
Types: {{ 'deb deb-src' if apt_src_enable | default(true) | bool else 'deb' }}
|
||||||
|
URIs: http://security.debian.org/debian-security
|
||||||
|
Suites: {{ ansible_facts['distribution_release'] }}-security
|
||||||
|
Components: main contrib non-free non-free-firmware
|
||||||
|
{% if apt_deb822_use_signed_by | default(true) | bool %}
|
||||||
|
Signed-By: {{ apt_deb822_signed_by_keyring | default('/usr/share/keyrings/debian-archive-keyring.gpg') }}
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user