You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The string after sap_hana_install_ in the role variable sap_hana_install_verify_signature (verify_signature) is an hdblcm configfile parameter and therefore processed by the role for creating the hdblcm configfile. This causes this configfile parameter to be set to True or False instead of y or n.
The role does what we expect anyway (tested on SPS05, rev. 59.15 and SPS80, rev. 80):
If the role variable sap_hana_install_verify_signature is set to the default of false, the hdblcm command line parameter --verify_signature is not added by the role, and the configfile parameter verify_signature, which is set to False, is interpreted by hdblcm as 'No'.
If the role variable sap_hana_install_verify_signature is set to the alternative setting of true, the hdblcm command line parameter --verify_signature is added by the role, and the configfile parameter verify_signature, which is set to True, is ignored by hdblcm.
Such a behavior can be avoided by using another prefix (e.g. sap_hana_install_cfg_) for those role variables which are used for converting the hdblcm configfile template into a Jinja2 template, in task:
- name: SAP HANA Pre Install - Create a Jinja2 template from the hdblcm configfile template
With this mechanism, the "role native" variables can be separated from those role variables which are used for directly setting the hdblcm configfile parameters.
The text was updated successfully, but these errors were encountered:
The string after
sap_hana_install_
in the role variablesap_hana_install_verify_signature
(verify_signature
) is an hdblcm configfile parameter and therefore processed by the role for creating the hdblcm configfile. This causes this configfile parameter to be set toTrue
orFalse
instead ofy
orn
.The role does what we expect anyway (tested on SPS05, rev. 59.15 and SPS80, rev. 80):
If the role variable
sap_hana_install_verify_signature
is set to the default offalse
, the hdblcm command line parameter--verify_signature
is not added by the role, and the configfile parameterverify_signature
, which is set toFalse
, is interpreted by hdblcm as 'No'.If the role variable
sap_hana_install_verify_signature
is set to the alternative setting oftrue
, the hdblcm command line parameter--verify_signature
is added by the role, and the configfile parameterverify_signature
, which is set toTrue
, is ignored by hdblcm.Such a behavior can be avoided by using another prefix (e.g.
sap_hana_install_cfg_
) for those role variables which are used for converting the hdblcm configfile template into a Jinja2 template, in task:community.sap_install/roles/sap_hana_install/tasks/pre_install/hdblcm_configfile.yml
Line 58 in c1b479e
With this mechanism, the "role native" variables can be separated from those role variables which are used for directly setting the hdblcm configfile parameters.
The text was updated successfully, but these errors were encountered: