34 lines
2.1 KiB
Diff
34 lines
2.1 KiB
Diff
commit 3c225d526663084ca7ca6060fae6cb64d2834307
|
|
Author: Bernd Finger <bfinger@redhat.com>
|
|
Date: Thu Nov 17 14:01:26 2022 +0100
|
|
|
|
preconfigure roles: Solve ansible-lint errors for issue #246
|
|
|
|
diff --git a/roles/sap_hana_preconfigure/tasks/RedHat/assert-installation.yml b/roles/sap_hana_preconfigure/tasks/RedHat/assert-installation.yml
|
|
index 64eb3f7..3d2f6d8 100644
|
|
--- a/roles/sap_hana_preconfigure/tasks/RedHat/assert-installation.yml
|
|
+++ b/roles/sap_hana_preconfigure/tasks/RedHat/assert-installation.yml
|
|
@@ -167,7 +167,8 @@
|
|
msg: "INFO: No minimum required package version defined (variable __sap_hana_preconfigure_min_pkgs)."
|
|
when: not __sap_hana_preconfigure_min_pkgs | d([])
|
|
|
|
-- name: Get info about possible package updates
|
|
+# Reason for noqa: The yum module appears to not support the check-update option
|
|
+- name: Get info about possible package updates # noqa command-instead-of-module
|
|
ansible.builtin.command: yum check-update
|
|
register: __sap_hana_preconfigure_register_yum_check_update_assert
|
|
changed_when: false
|
|
diff -up community.sap_install-a2c6785d02092bb9142d9f2c170ad4b097d1af2f/roles/sap_hana_preconfigure/tasks/sapnote/2292690/10-assert-ibm-energyscale.yml.me community.sap_install-a2c6785d02092bb9142d9f2c170ad4b097d1af2f/roles/sap_hana_preconfigure/tasks/sapnote/2292690/10-assert-ibm-energyscale.yml
|
|
--- community.sap_install-a2c6785d02092bb9142d9f2c170ad4b097d1af2f/roles/sap_hana_preconfigure/tasks/sapnote/2292690/10-assert-ibm-energyscale.yml.me 2022-11-22 16:03:52.385722586 +0100
|
|
+++ community.sap_install-a2c6785d02092bb9142d9f2c170ad4b097d1af2f/roles/sap_hana_preconfigure/tasks/sapnote/2292690/10-assert-ibm-energyscale.yml 2022-11-22 16:06:49.465856762 +0100
|
|
@@ -7,7 +7,8 @@
|
|
|
|
- name: Check of package pseries-energy
|
|
block:
|
|
- - name: Check if package pseries-energy is not installed
|
|
+ # Reason for noqa: In assert mode, we do not enforce a certain configuration.
|
|
+ - name: Check if package pseries-energy is not installed # noqa command-instead-of-module
|
|
ansible.builtin.command: yum info installed pseries-energy
|
|
register: __sap_hana_preconfigure_register_yum_pseries_energy_assert
|
|
changed_when: no
|