[PR #11690/f4e5fc09 backport][stable-12] monit: re-enable tests in RHEL (#11714)

monit: re-enable tests in RHEL (#11690)

* re-enable monit tests in rhel

* enable EPEL for RHEL<11

* rollback EPEL setup, skip only specific versions

* remove skip entirely

* change download URL in setup_epel, adjusted code to use it

* claude tries to install virtualenv, round 1

* claude tries python3 -m venv instead

* remove outdated centos6 file

(cherry picked from commit f4e5fc09d7)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2026-04-01 07:06:16 +02:00
committed by GitHub
parent ae089aefad
commit 1df4b3ee74
6 changed files with 6 additions and 22 deletions

View File

@@ -9,12 +9,9 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- block:
- name: Install EPEL repository (RHEL only)
- name: Install EPEL repository (only effective in RHEL)
include_role:
name: setup_epel
when:
- ansible_facts.distribution in ['RedHat', 'CentOS']
- ansible_facts.distribution_major_version is version('9', '<')
- name: create required directories
become: true
@@ -67,9 +64,10 @@
pip:
name: "{{ item }}"
virtualenv: "{{ process_venv }}"
virtualenv_command: "{{ virtualenv_command }}"
extra_args: "-c {{ remote_constraints }}"
loop:
- setuptools==44
- setuptools
- python-daemon
- name: restart monit