sap_install

8Roles3Plugins1Dependency

Overview

Description

Collection of Ansible Roles for SAP software installation in various deployment configurations

Readme

redhat.sap_install Ansible Collection

Ansible Lint

This Ansible Collection executes various SAP Software installations and configuration tasks for running SAP software on Linux operating systems; with handlers for SAP HANA database lifecycle manager (HDBLCM) and SAP Software Provisioning Manager (SWPM) for programmatic deployment of any SAP solution scenario.

This can be combined with other Ansible Collections to provide end-to-end automation, from download of SAP software installation media through to technical configuration and burstable SAP NetWeaver application servers (start/stop).

Functionality

This Ansible Collection contains roles for: - Preparing RHEL 7.6 and later, RHEL 8, and RHEL 9 systems for the installation of SAP HANA and NetWeaver software - Installing SAP HANA standalone and scale-out, in a non clustered and clustered environment - 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.

Contents

An Ansible Playbook can call either an Ansible Role, or the individual Ansible Modules:

  • Ansible Roles (runs multiple Ansible Modules)
  • Ansible Modules (and adjoining Python/Bash Functions)

Within this Ansible Collection, there are various Ansible Roles and no custom Ansible Modules.

Ansible Roles

NameSummarySupport
sap_maintain_etc_hostsmaintain /etc/hosts entries for SAP systemsFully Supported
sap_general_preconfigureconfigure general OS settings for SAP softwareFully Supported
sap_ha_install_hana_hsrinstall SAP HANA System ReplicationTechnology Preview
sap_ha_pacemaker_clusterinstall and configure pacemaker and SAP resourcesTechnology Preview
sap_hana_installinstall SAP HANA via HDBLCMFully Supported
sap_hana_preconfigureconfigure settings for SAP HANA database serverFully Supported
sap_netweaver_preconfigureconfigure settings for SAP NetWeaver application serverFully Supported
sap_swpminstall SAP Software via SWPMFully Supported (for certain functionality only)

Notes:

In general the "preconfigure" and "prepare" roles are prerequisites for the corresponding installation roles. The logic has been separated to support a flexible execution of the different steps.

Notes:

  • Ansible Playbook localhost executions may have limitations on SAP Software installations
  • Ansible Roles for HA/DR are all designed for execution with Terraform

Execution examples

There are various methods to execute the Ansible Collection, dependent on the use case. For more information, see the summary below:

Execution ScenarioUse CaseTarget
Ansible Playbook
-> source Ansible Collection
-> execute Ansible Task
--> run Ansible Role
---> run Ansible Module for Shell (built-in)
---> ...
Complex executions with various interlinked activities;
run in parallel or sequentially
Localhost or Remote

Requirements, Dependencies and Testing

Operating System requirements

Supported for control nodes running collection redhat.sap_install or package rhel-system-roles-sap: - Red Hat Enterprise Linux for SAP Solutions subscription or Red Hat Ansible Automation Platform subscription

Supported for managed nodes with the scope described above for RHEL 7.6 and later RHEL 7, RHEL 8, and RHEL 9 operating systems

License

Contributors

Contributors to the Ansible Roles within this Ansible Collection are shown in the README.md file of each role.

Certification

Product
Red Hat Ansible Automation Platform 2.4
Red Hat Ansible Automation Platform 2.5
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

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.

© 2025 Red Hat