sap_swpm Ansible Role

Ansible role for SAP software installation using SWPM

Requirements

The role requires additional collections which are specified in meta/collection-requirements.yml. Before using this role,
make sure that the required collections are installed, for example by using the following command:

ansible-galaxy install -vv -r meta/collection-requirements.yml

Scope

NOTE: This Ansible role is delivered by Red Hat with a support scope of Technology Preview only for the following deployment scenarios:
S/4HANA 2021 and S/4HANA 2022 single-host installation on x86_64: RHEL 8.4, 8.6, 9.0 and ppc64le: RHEL 8.4 and 8.6.

Only the default role mode is supported.

All other functionality of this role is currently not supported by Red Hat.

SAP Preconfigure

SAP Software Installation .SAR Files

  1. SAPCAR executable

  2. Software Provisioning Manager .SAR file
  3. SAP Installation files

Variables and Parameters

Input Parameters

The inputs are critical for running this role
- Determines the installation type
- Incomplete parameters will result to failure
- Wrong parameters will result to failure

Default Parameters

Please check the default parameters file for more information on other parameters that can be used as an input:

Red Hat KB article 6857351 contains instructions for installing an S/4HANA single host system
including a sample playbook.

Further examples can be found here.

Execution

Sample Ansible Playbook Execution

Sample Playbook

---
- hosts: all
  become: true
  roles:
    - sap_swpm

Execution Flow

Pre-Install

SAP SWPM

Post-Install

Tags

With the following tags, the role can be called to perform certain activities only:

License

Apache license 2.0

Author Information

IBM Lab for SAP Solutions, Red Hat for SAP Community of Practice, Jason Masipiquena, Sean Freeman, Bernd Finger, Markus Koch