community.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:

Contents

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

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

Ansible Roles

Name Summary Support
sap_general_preconfigure configure general OS settings for SAP software Fully Supported
sap_ha_install_hana_hsr install SAP HANA System Replication Technology Preview
sap_ha_pacemaker_cluster install and configure pacemaker and SAP resources Technology Preview
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 Technology Preview (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:

Execution examples

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

Execution Scenario Use Case Target
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:

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.