[PR #11715/79431c36 backport][stable-12] integration tests: remove CentOS conditionals (#11726)

integration tests: remove CentOS conditionals (#11715)

* test(integration): remove CentOS references

* further simplification

* more removals

* rollback systemd_info for now

* ufw: not trivially used with RHEL9 and RHEL10, simplifying tests

* remove tasks for setup_epel where unused

* adjustments from review

(cherry picked from commit 79431c36b5)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2026-04-03 10:41:10 +02:00
committed by GitHub
parent 56bcb0c32b
commit f77d731faf
15 changed files with 54 additions and 124 deletions

View File

@@ -26,19 +26,6 @@
cacheable: true
when: ansible_facts.os_family == "Archlinux"
- shell:
cmd: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/*.repo
sed -i 's%#baseurl=http://mirror.centos.org/%baseurl=https://vault.centos.org/%g' /etc/yum.repos.d/*.repo
when: ansible_facts.distribution in 'CentOS' and ansible_facts.distribution_major_version == '7'
- shell:
cmd: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*.repo
sed -i 's%#baseurl=http://mirror.centos.org/$contentdir/$releasever/%baseurl=https://vault.centos.org/8.4.2105/%g' /etc/yum.repos.d/CentOS-Linux-*.repo
ignore_errors: true # This fails for CentOS Stream 8
when: ansible_facts.distribution in 'CentOS' and ansible_facts.distribution_major_version == '8'
- when: ansible_facts.os_family == "Archlinux"
block:
- name: ArchLinux specific setup