mk-ansible-roles.sap_base_settings
Role Name: sap-base-settings
THIS ROLE IS NO LONGER SUPPORTED AND WILL BE REMOVED IN 12.2022. Please use the community.sap_install collection instead.
(Work in Progress)
This role sets up the hostname and locale as per SAP Note 2369910.
This setup is necessary for SAP Netweaver and SAP HANA installations.
The role checks that the domain name, short hostname, and full hostname return the correct values. It also sets the locale to en_US.UTF-8, as required by the SAP note mentioned above.
Requirements
Before using this role, make sure the network and DNS settings are properly configured, for example, using linux-system-roles.
Role Variables
sap_hostname
-- defaults to "{{ ansible_hostname }}"sap_domain
-- defaults to "{{ ansible_domain }}"sap_ip
-- defaults to "{{ ansible_default_ipv4.address }}"
Here, sap_hostname
is the short hostname for the SAP system, and sap_domain
is the DNS domain name. SAP requires both of these to be verified.
Example Playbook
Here is an example of how to use this role (including variables passed as parameters):
- hosts: servers
roles:
- { role: mk-ansible-roles.sap-base-settings }
Contribution
If you want to contribute, please read the developer guidelines.
License
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007.
Author Information
Markus Koch
Please leave comments in the GitHub repository's issue list.
Configures RHEL hostname and locale according SAP Note 2369910
ansible-galaxy install mk-ansible-roles.sap_base_settings