commit 62908fd7a79a4ef0d38ce2e48bca5970eb0f2304
Author: Bernd Finger <bfinger@redhat.com>
Date: Tue Aug 31 16:38:13 2021 +0200
fix yum group install errors on RHEL 7
diff --git a/tasks/installation.yml b/tasks/installation.yml
index ac63e9f..3ff6ef4 100644
--- a/tasks/installation.yml
+++ b/tasks/installation.yml
@@ -1,7 +1,7 @@
---
- name: Ensure required package groups are installed, RHEL 7
- command: yum install "{{ sap_preconfigure_packagegroups|join('')|quote }}" -y
+ command: "yum install {{ sap_preconfigure_packagegroups|join(' ') }} -y"
args:
warn: false
register: __sap_preconfigure_register_yum_group_install
@@ -9,9 +9,9 @@
- ansible_os_family == 'RedHat'
- ansible_distribution_major_version == '7'
-- name: Ensure required package groups are installed, RHEL 8 and later
+- name: Ensure required package groups are installed, RHEL 8 and RHEL 9
# Note: We want to avoid unwanted package upgrades, see bug 1983749.
- command: yum install "{{ sap_preconfigure_packagegroups|join('')|quote }}" --nobest --exclude="kernel*" -y
+ command: "yum install {{ sap_preconfigure_packagegroups|join(' ') }} --nobest --exclude=kernel* -y"
args:
warn: false
register: __sap_preconfigure_register_yum_group_install