commit 69de334fecbce65506bbea15b1b9bcd643528352 Author: Bernd Finger Date: Wed Aug 11 21:50:14 2021 +0200 Solve issue #149 diff --git a/tasks/installation.yml b/tasks/installation.yml index 7dbab15..096c993 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -1,9 +1,15 @@ --- - name: Ensure required package groups are installed - package: - state: present - name: "{{ sap_preconfigure_packagegroups }}" +# Note: We cannot use the package module here as this will do a default group install, +# which could lead to unwanted package upgrades. See bug 1983749. + command: yum install "{{ sap_preconfigure_packagegroups|join('')|quote }}" --skip-broken --exclude="kernel*" -y + args: + warn: false + register: __sap_preconfigure_register_yum_group_install + +- debug: + var: __sap_preconfigure_register_yum_group_install - name: Ensure required packages are installed package: