Remove logic for Ubuntu 20.04 and Debian 11

This commit is contained in:
2025-03-29 23:09:44 +03:00
parent 027a43ddbe
commit 88cb3a370e
10 changed files with 2 additions and 2510 deletions

View File

@ -1,19 +1,6 @@
---
- name: Configure Debian packages
block:
# Create directory for third-party package signing keys. Required on distros
# older than Debian 12 / Ubuntu 22.04.
#
# See: https://wiki.debian.org/DebianRepository/UseThirdParty
- name: Create /etc/apt/keyrings
file:
path: /etc/apt/keyrings
mode: "0755"
owner: root
group: root
state: directory
when: ansible_distribution_major_version is version('12', '<')
# Scaleway seems to use a weird sources.list format as of Debian 12?
- name: Check for weird Debian sources
ansible.builtin.stat: