thbe.sap
Ansible Role thbe-sap
This role sets up the basic settings, packages, and tweaks needed to run an SAP system.
Requirements
No special requirements are needed for this role.
Role Variables
- role_directory - This is the main path for the directories used by thbe roles (do not change!)
- sap_role_name - Name of the SAP role (default: not set)
- sap_profile - SAP profile setting (default: not set)
- sap_firewall - Turn on SAP-specific firewall rules (default: none)
- sap_alias - Set a hostname alias for SAP (default: not set)
- sap_motd - Enable Message of the Day (default: false)
- sap_ha - Enable HaPacemaker cluster (default: false)
- sap_ha_stonith - Enable Pacemaker stonith device (default: true)
- sap_anf - Enable Azure Netapp (default: false)
- sap_dr - Enable SAP Disaster Recovery (default: false)
- sap_router - Enable SAP Router (default: false)
- sap_router_manage - Manage saproutetab (default: false)
- rhn_organization_id - ID for registering at RHN (default: 'unset')
- rhn_activation_key - Activation key for RHN registration (default: 'unset')
- rhn_repo_eus - Enable EUS repositories (default: false)
- rhn_repo_e4s - Enable E4S repositories (default: false)
- rhel_repos_8_sap - List of RHEL SAP repositories for version 8
- rhel_repos_9_sap - List of RHEL SAP repositories for version 9
- sap_packages_requirement - List of required SAP packages
- sap_packages_compatibility - List of compatibility packages for SAP
Dependencies
This role depends on:
- thbe.common
- thbe.rhel
Example Playbook
You can include this role in the site.yml like this:
# Site playbook
- name: Ansible playbooks for all nodes
hosts: all
collections:
- ansible.posix
- community.general
gather_facts: true
tasks:
- name: Role Common (DevOps setup)
ansible.builtin.include_role:
name: thbe.common
- name: Role rhel
ansible.builtin.include_role:
name: thbe.rhel
- name: Role SAP
ansible.builtin.include_role:
name: thbe.sap
License
GPL-3.0-only
Author Information
Thomas Bendler - https://www.thbe.org/