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
This commit is contained in:
Alexei Znamensky
2026-04-03 18:37:05 +13:00
committed by GitHub
parent b79a45753f
commit 79431c36b5
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