Chapter 2. Installing the Ansible Engine and RHEL System Roles for SAP
Use the following steps to for installing the Ansible Engine and the RHEL System Roles for SAP
Procedure
Use subscription-manager to list the available Ansible Engine repositories.
# subscription-manager refresh
# subscription-manager repos --list | grep ansible
Enable the Ansible Engine repository and the RHEL for SAP Solutions repository using Red Hat Subscription Manager.
# subscription-manager repos --enable=ansible-2-for-rhel-8-$(uname -m)-rpms --enable=rhel-8-for-$(uname -m)-sap-solutions-rpms
NoteThe generic version "2" of the Ansible Engine repository provides the latest release of the 2.X stream but it is also possible to specify a certain minor Ansible Engine version such as 2.9.
Install Ansible Engine and RHEL System Roles for SAP:
# dnf install ansible rhel-system-roles-sap
The rhel-system-roles-sap package is installed to the following locations where <role> is the name of the individual role; for example, sap-hana-preconfigure. Each role includes a README file that explains all variables and how to use the role.
Documentation: /usr/share/doc/rhel-system-roles-sap/<role>
Ansible Roles: /usr/share/ansible/roles/<role>