Cleanup support for removed OS in bootstrap

- centos < 8
- debian 10
This commit is contained in:
Max Gautier
2025-05-19 17:56:50 +02:00
parent d5b2a9b5ba
commit 5243b33bd7
2 changed files with 0 additions and 57 deletions

View File

@@ -15,37 +15,6 @@
- ansible_pkg_mgr == 'zypper'
tags: bootstrap_os
- name: Add debian 10 required repos
when:
- ansible_distribution == "Debian"
- ansible_distribution_version == "10"
tags:
- bootstrap_os
block:
- name: Add Debian Backports apt repo
apt_repository:
repo: "deb http://deb.debian.org/debian {{ ansible_distribution_release }}-backports main"
state: present
filename: debian-backports
- name: Set libseccomp2 pin priority to apt_preferences on Debian buster
copy:
content: |
Package: libseccomp2
Pin: release a={{ ansible_distribution_release }}-backports
Pin-Priority: 1001
dest: "/etc/apt/preferences.d/libseccomp2"
owner: "root"
mode: "0644"
- name: Update package management cache (APT)
apt:
update_cache: true
cache_valid_time: 3600
when: ansible_os_family == "Debian"
tags:
- bootstrap_os
- name: Remove legacy docker repo file
file:
path: "{{ yum_repo_dir }}/docker.repo"