mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user