From b3de4bea5f54d824b32179135ba4924b893e62f3 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 16 Aug 2022 15:00:03 +0900 Subject: [PATCH] Remove logic for CentOS/RHEL < 9 ... because now our modules support only CentOS/RHEL 9. Change-Id: I5b2ad265ba84c3afbc5d6085173a8970181eb10b --- playbooks/prepare-node-common.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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: