The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

8Roles5Plugins1Dependency
Collection of Ansible Roles for SAP software installation in various deployment configurations
This Ansible Collection executes various SAP Software installations and configuration tasks for various SAP solutions and deployment scenarios on RHEL for SAP Solutions
Installing SAP software via the SAP Software Provisioning Manager (SWPM)
NOTE: This version of the collection redhat.sap_install contains the role sap_swpm with a support scope of Fully Supported
for the following deployment scenarios:
S/4HANA 2021 and later single-host installation on x86_64 and ppc64le: RHEL 8.10, 9.2, 9.4, 9.6 and 10.0.
All other functionality of this role is currently not supported by Red Hat.
It might happen that the installation of the ABAP Platform system (SAP NetWeaver) fails because of an incorrectly
configured role variable, and that it is not possible for Red Hat to determine the root cause from the SWPM log and
trace files. In these cases, Red Hat may ask you to provide the file inifile.params from a successful interactive
installation or to use this file as the input parameter file by the role sap_swpm, stored on the managed node in the
directory specified in sap_swpm_inifile_directory.
Operating system: - Red Hat Enterprise Linux for SAP Solutions 8.x 9.x 10.x
Python: 3.9 or higher
Ansible-core: 2.14 or higher
Operating system: - Red Hat Enterprise Linux for SAP Solutions 8.x 9.x 10.x
NOTE: Operating system needs to have access to required package repositories either directly or via subscription registration.
Python: 3.6 or higher
Install this collection with Ansible Galaxy command:
ansible-galaxy collection install redhat.sap_install
Optionally you can include collection in requirements.yml file and include it together with other collections using: ansible-galaxy collection install -r requirements.yml
Requirements file need to be maintained in following format:
collections:
- name: redhat.sap_install
Installed Ansible Collection will not be upgraded automatically when Ansible package is upgraded.
To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install redhat.sap_install --upgrade
You can also install a specific version of the collection, when you encounter issues with latest version. Please report these issues in affected Role repository if that happens. Example of downgrading collection to version 1.4.0:
ansible-galaxy collection install redhat.sap_install:==1.4.0
See Installing collections for more details on installation methods.
More deployment scenarios are available in ansible.playbooks_for_sap repository.
All included roles can be executed independently or as part of ansible.playbooks_for_sap playbooks.
| Name | Summary | Support |
|---|---|---|
| sap_maintain_etc_hosts | maintain /etc/hosts entries for SAP systems | Fully Supported |
| sap_general_preconfigure | configure general OS settings for SAP software | Fully Supported |
| sap_ha_install_hana_hsr | install SAP HANA System Replication | Fully Supported |
| sap_ha_pacemaker_cluster | install and configure pacemaker and SAP resources | Fully Supported |
| sap_hana_install | install SAP HANA via HDBLCM | Fully Supported |
| sap_hana_preconfigure | configure settings for SAP HANA database server | Fully Supported |
| sap_netweaver_preconfigure | configure settings for SAP NetWeaver application server | Fully Supported |
| sap_swpm | install SAP Software via SWPM | Fully Supported (for certain functionality only) |
This Ansible Collection was tested across different Operating Systems, SAP products and scenarios. You can find examples of some of them below.
Operating systems: - Red Hat Enterprise Linux for SAP Solutions 8.x 9.x 10.x (RHEL4SAP)
Deployment scenarios: - All scenarios included in ansible.playbooks_for_sap repository
SAP Products: - SAP S/4HANA AnyPremise (1809, 1909, 2020, 2021, 2022, 2023) with setup as Standard, Distributed, High Availability and optional Maintenance Planner or Restore System Copy - SAP Business Suite (ECC) on HANA and SAP Business Suite (ECC) with SAP AnyDB - SAP ASE, SAP MaxDB, IBM Db2, Oracle DB - SAP BW/4HANA (2021, 2023) with setup as Standard or Scale-Out - SAP HANA 2.0 (SPS04+) with setup as Scale-Up, Scale-Out, High Availability - Other SAP installation activities; such as System Rename, System Copy Export, SAP Solution Manager and SAP Web Dispatcher
NOTE: It is not possible to test every Operating System and SAP Product combination with every release. Testing is regularly done for common scenarios: SAP HANA, SAP HANA HA, SAP S4HANA Distributed HA
For information on how to contribute, please see our contribution guidelines.
We welcome contributions to this collection. For a list of all contributors and information on how you can get involved, please see our CONTRIBUTORS document.
You can report any issues using Issues section.
You can find the release notes of this collection in Changelog file
Please follow Ansible Precedence guidelines on how to pass variables when using this collection.
More information on how to execute Ansible playbooks is in Getting started guide.
| Product |
|---|
| 2.4 |
| 2.5 |
| 2.6 |
This collection requires the following collections for use:
| Name | Summary |
|---|