diff --git a/playbooks/prepare-node-common.yaml b/playbooks/prepare-node-common.yaml index 2902c33fa..77ebf2bc9 100644 --- a/playbooks/prepare-node-common.yaml +++ b/playbooks/prepare-node-common.yaml @@ -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: