Merge "Remove logic for CentOS/RHEL < 9"

This commit is contained in:
Zuul 2022-08-16 20:48:00 +00:00 committed by Gerrit Code Review
commit dc631d1db0

View File

@ -27,6 +27,7 @@
- libxslt-devel
- ruby-devel
- zlib-devel
- rubygem-rexml
- name: Install yum (CentOS/RHEL)
dnf:
@ -36,19 +37,6 @@
when:
- ansible_os_family == 'RedHat'
- block:
- name: install required packages (CentOS/RHEL>=9)
dnf:
name: "{{ item }}"
state: present
become: true
ignore_errors: true
with_items:
- rubygem-rexml
when:
- ansible_os_family == 'RedHat'
- ansible_distribution_major_version >= "9"
- block:
- name: install required packages (CentOS)
dnf: