Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Latest commit

 

History

History
58 lines (35 loc) · 1.67 KB

README.md

File metadata and controls

58 lines (35 loc) · 1.67 KB

Role Name: sap-base-settings

THIS ROLE IS DEPRECATED AND WILL BE DELETED IN 12.2022
use community.sap_install collection instead

(Work in Progress)

Sets hostname and locale according to SAP Note 2369910

This is required by SAP Netweaver and SAP HANA installations

This role checks that domainname, hostname -s and hostname -f return the correct values This role sets the locale to en_US.UTF-8 as required in the above SAP note

Requirements

Prior to run this role the network and DNS settings should be done, eg. with 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 }}"

sap_hostname is the short hostname of the SAP system and sap_domain is the DNS domainname. SAP needs both of these parameters to be checked.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: mk-ansible-roles.sap-base-settings }

Contribution

Please read the developer guidelines if you want to contribute

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

Author Information

Markus Koch

Please leave comments in the github repo issue list 169,1 Ende