# SPDX-License-Identifier: Apache-2.0 --- # BEGIN: Default Variables for sap_hana_preconfigure # (Red Hat specific) If set to `false`, the role will only execute or verify the installation # or configuration steps of SAP notes. # Default is to perform installation and configuration steps. # sap_hana_preconfigure_config_all: (not defined by default) # (Red Hat specific) If `sap_hana_preconfigure_config_all` is set to `false`, set this variable # to `true` to perform only the installation steps of SAP notes. # sap_hana_preconfigure_installation: (not defined by default) # (Red Hat specific) If `sap_hana_preconfigure_config_all` is set to `false`, set this variable # to `true` to perform only the configuration steps of SAP notes for which the corresponding # SAP notes parameters have been set to `true`. # Example: See README.md # sap_hana_preconfigure_configuration: (not defined by default) # If set to `true`, the role will run in assertion mode instead of the default configuration mode. sap_hana_preconfigure_assert: false # (Red Hat specific) In assertion mode, the role will check either tuned or static settings. # If this parameter is set to to `true`, the role will check both tuned and static settings. sap_hana_preconfigure_assert_all_config: false # In assertion mode, the role will abort when encountering any assertion error. # If this parameter is set to `false`, the role will *not* abort when encountering an assertion error. # This is useful if the role is used for reporting a system's SAP notes compliance. sap_hana_preconfigure_assert_ignore_errors: false # Set which Ansible Collection to use for the Linux System Roles. # For community/upstream, use 'fedora.linux_system_roles' # For the RHEL System Roles for SAP, or for Red Hat Automation Hub, use 'redhat.rhel_system_roles' # Possible Values: # - fedora.linux_system_roles # - redhat.rhel_system_roles sap_hana_preconfigure_system_roles_collection: 'fedora.linux_system_roles' # (Red Hat specific) Check the RHEL release against parameter `sap_hana_preconfigure_supported_rhel_minor_releases`, # which is a list of known SAP HANA supported RHEL minor releases. By default, the role will display a message and # continue running if the RHEL release is not part of that list. If set to `true`, the role will fail in such a case. sap_hana_preconfigure_min_rhel_release_check: false # (Red Hat specific) Use this parameter to set your own list of SAP HANA supported RHEL minor releases. sap_hana_preconfigure_supported_rhel_minor_releases: "{{ __sap_hana_preconfigure_supported_rhel_minor_releases }}" # (Red Hat specific) Set to 'true' to enable the SAP HANA required RHEL repos. # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_use_hana_repos`. sap_hana_preconfigure_enable_sap_hana_repos: false # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 7 repos on x86_64' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_7_x86_64: "{{ __sap_hana_preconfigure_req_repos_redhat_7_x86_64 }}" # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 7 repos on ppc64le' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_7_ppc64le: "{{ __sap_hana_preconfigure_req_repos_redhat_7_ppc64le }}" # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 8 repos on x86_64' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_8_x86_64: "{{ __sap_hana_preconfigure_req_repos_redhat_8_x86_64 }}" # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 8 repos on ppc64le' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_8_ppc64le: "{{ __sap_hana_preconfigure_req_repos_redhat_8_ppc64le }}" # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 9 repos on x86_64' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_9_x86_64: "{{ __sap_hana_preconfigure_req_repos_redhat_9_x86_64 }}" # (Red Hat specific) Use this parameter to set your own list of SAP HANA required RHEL 9 repos on ppc64le' # This parameter is deprecated because the role sap_general_preconfigure can be used for this purpose. # The related parameters are `sap_general_preconfigure_enable_repos` and `sap_general_preconfigure_req_repos`. sap_hana_preconfigure_req_repos_redhat_9_ppc64le: "{{ __sap_hana_preconfigure_req_repos_redhat_9_ppc64le }}" # (Red Hat specific) Use this parameter to set the RHEL minor release, which is required for SAP HANA. # The related parameter is `sap_general_preconfigure_set_minor_release`. sap_hana_preconfigure_set_minor_release: false # (Red Hat specific) Set to `false` if you do not want the SAP HANA directories to be created by the role. # The SAP HANA directories will always be created if `sap_hana_preconfigure_modify_selinux_labels` # (see below) is set to `true`, no matter how `sap_hana_preconfigure_create_directories` is set. sap_hana_preconfigure_create_directories: true # (Red Hat specific) List of SAP HANA directories to be created. sap_hana_preconfigure_hana_directories: - /hana - /lss/shared # (Red Hat specific) For compatibility of SAP HANA with SELinux in enforcing mode, the role # will recursively add the `usr_t` label to directories and files in the directories where HANA # is installed. # If relabeling not desired, set this parameter `false`. # If the variable is set to `true`, the SAP HANA directories will be created no matter # how the variable `sap_hana_preconfigure_create_directories` (see above) is set. sap_hana_preconfigure_modify_selinux_labels: true # The list of packages to be installed for SAP HANA. # For RHEL 8 and later, you can choose to install either the default list # or a list of the minimum required packages for SAP HANA server # (parameter `__sap_hana_preconfigure_packages_min_install`). # The default for this variable is set in the vars file which corresponds to the detected OS version. sap_hana_preconfigure_packages: "{{ __sap_hana_preconfigure_packages }}" # (Red Hat specific) SAP HANA requires certain minimum package versions to be supported. # These minimum levels are listed in SAP Note 2235581. # Set this parameter to `false` if you want to ignore these requirements. sap_hana_preconfigure_min_package_check: true # (SUSE specific) The list of the zypper patterns to install. # The default for this parameter is set in the vars file which corresponds to the detected OS version. sap_hana_preconfigure_patterns: "{{ __sap_hana_preconfigure_patterns }}" # Set this parameter to `true` to update the system to the latest package levels. # By setting the parameter `sap_general_preconfigure_set_minor_release` of the # role `sap_general_preconfigure` to `true`, you can install the most recent package updates # without updating to a more recent RHEL minor release. sap_hana_preconfigure_update: false # Set to `true` if you want to perform a reboot at the end of the role, if necessary. sap_hana_preconfigure_reboot_ok: false # If `sap_hana_preconfigure_reboot_ok` is set to `false`, which is the default, a reboot requirement should not # remain unnoticed. For this reason, we let the role fail. Set this parameter to `false` to override this behavior. # Can be useful if you want to implement your own reboot handling. sap_hana_preconfigure_fail_if_reboot_required: true # (Red Hat specific) Network related linux kernel parameter settings for SAP HANA on all hardware platforms. sap_hana_preconfigure_kernel_parameters: "{{ __sap_hana_preconfigure_kernel_parameters_default }}" # (Red Hat specific) Network related linux kernel parameter settings for platform ppc64le. sap_hana_preconfigure_kernel_parameters_ppc64le: "{{ __sap_hana_preconfigure_kernel_parameters_default_ppc64le }}" # (Red Hat specific) Set to `true` to also set NetApp NFS required kernel parameters. sap_hana_preconfigure_use_netapp_settings_nfs: false # (Red Hat specific) Set this parameter to `false` to not install the IBM Power Systems service and productivity tools. sap_hana_preconfigure_install_ibm_power_tools: true # (Red Hat specific) Set this parameter to `false` if you do not want to add the IBM Power tools repository # (e.g. because the packages are already available on the local network). The IBM Power Systems # service and productivity tools will only be installed if the variable # `sap_hana_preconfigure_install_ibm_power_tools` is set to `true`, which is the default. sap_hana_preconfigure_add_ibm_power_repo: true # (Red Hat specific) URL of the IBM Power tools repository. sap_hana_preconfigure_ibm_power_repo_url: "{{ __sap_hana_preconfigure_ibm_power_repo_url }}" # (Red Hat specific) List of interfaces for which the MTU size will be set to `9000`. sap_hana_preconfigure_ppcle_mtu9000_if: '' # (Red Hat specific) List of interfaces for which the tso flag will be set. sap_hana_preconfigure_ppcle_tso_if: "{{ ansible_interfaces | difference(['lo']) }}" # (Red Hat specific) Use tuned for configuring most of the kernel settings for SAP HANA # Set this parameter to `false` to use static kernel settings sap_hana_preconfigure_use_tuned: true # (Red Hat specific) Name of the SAP HANA tuned tuned profile to enable (RHEL). sap_hana_preconfigure_tuned_profile: 'sap-hana' # (Red Hat specific) Set this parameter to `true` to modify the Grub boot command line. sap_hana_preconfigure_modify_grub_cmdline_linux: false # By default, the role will run `grub2-mkconfig` to update the Grub configuration if necessary. # Set this parameter to `false` if this is not desired. sap_hana_preconfigure_run_grub2_mkconfig: true # (Red Hat specific) Override the default setting for THP, which is determined automatically # by the role, depending on the RHEL version. # Can be one of 'always', 'madvise', or 'never'. # sap_hana_preconfigure_thp: (not defined by default) # (SUSE specific) Version of saptune to install. # It is recommended to install latest version by keeping this variable empty. # This will replace the current installed version if present, even downgrade if necessary. sap_hana_preconfigure_saptune_version: '' # (SUSE specific) Saptune solution to be applied. # Available options for HANA are: HANA, NETWEAVER+HANA, S4HANA-APP+DB, S4HANA-DBSERVER sap_hana_preconfigure_saptune_solution: 'HANA' # (SUSE specific) Apply saptune solution regardless if it is already enabled and verified. sap_hana_preconfigure_saptune_solution_force: false # (SUSE specific) On Azure, TCP timestamps, reuse and recycle should be disabled (SLES for SAP Applications). # Set this parameter to `true` on Azure. sap_hana_preconfigure_saptune_azure: false