Skip to content

The sap_hana_global_configuration ensures, that similar settings are defined onces.

License

Notifications You must be signed in to change notification settings

redhat-sap/sap_hana_global_configurator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

sap_hana_global_configurator

The sap_hana_global_configuration ensures, that similar settings are defined onces.

Typical example

During an installation the SID need to be set to the same value in different system roles using different variable names.

One way to get this solved is to use one variable for this unique content. For this we need to find a variable name which isn't used.

If we take the example of https://github.com/redhat-sap/sap-hana-deployment

The SID is specified with sap_hana_deployment_hana_sid.

If we want to configure https://github.com/redhat-sap/sap-hana-hsr we have to define sap_hana_hsr_hana_sid.

Asuming sap_hana_sid is not used, we can define it as group_var and add this variable as default to the systemroles.

If we would now set each parameter it will work as it was before. If we would add a variable sap_hana_sid to the group_vars/all.yml and add

sap_hana_hsr_hana_sid = "{{ sap_hana_sid }}"
sap_hana_deployment_hana_sid = "{{ sap_hana_sid }}"

to the default/main.yml File It would use the SID specified once.

This allows to use one global variable for the same content.

About

The sap_hana_global_configuration ensures, that similar settings are defined onces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published