sap-linuxlab / community.sap_install

Automation for SAP - Collection of Ansible Roles for various SAP software installation
Apache License 2.0
54 stars 57 forks source link

sap_hana_preconfigure: Fix errors related to the minimum amount of packages #846

Open berndfinger opened 2 months ago

berndfinger commented 2 months ago

The entry for sap_hana_preconfigure_packages in meta/argument_specs.yml needs to be modified. With the current coding, when defining: sap_hana_preconfigure_packages: "{{ __sap_hana_preconfigure_packages_min_install }}" in the playbook, the argument validation step will fail with: '__sap_hana_preconfigure_packages_min_install'' is undefined'.

The package chkconfig needs to be part of the list of packages __sap_hana_preconfigure_packages_min_install. Otherwise, the task Create file /etc/init.d/boot.local if it does not exist will fail with: Error, could not touch target: [Errno 2] No such file or directory: b''/etc/init.d/boot.local'''