

Assuming you have copied the script to directory ~/bin, the command would be: In case you would like to get a more compact output, you can pipe the output to the shell script beautify-assert-output.sh, located in the tools directory of each of the preconfigure roles, to just display the essential FAIL or PASS information for each assertion. Sap_general_preconfigure_assert_ignore_errors: yes To download the collection from Automation Hub and then install it, perform the following step:Ĭreate a YAML file named sap-netweaver.yml with the following content: This will install the collection into the default location for the user (necessary directories will be created recursively), which is: ~/.ansible/collections/ansible_collections/redhat/sap_install. # ansible-galaxy collection install redhat.sap_install Install the collection by running the following command as the user which will use the collection (the user which will run the playbooks to install software or configure settings on managed nodes): Use the Server URL for variable url, the SSO URL for variable auth_url, and the Offline token for variable token, as in the following example (replace the dummy token by the actual token):

Use these values to configure file /etc/ansible/ansible.cfg according to the instructions in this chapter. Make a copy of your Offline token, the Server URL, and the SSO URL from this page and note the Server URL and SSO URL on the same page. This document describes how to install and use RHEL package rhel-system-roles-sap version 3.3.0 (*) or Automation Hub collection redhat.sap_install version 1.2.1, which consists of the following roles. The RHEL System Roles for SAP and Ansible packages do not need to be installed on the systems that are being managed/configured. It is recommended that you use the latest major release of RHEL on the control node (RHEL 9) and use the latest version of the roles either from the rhel-system-roles-sap RPM or from Red Hat Automation Hub.

The control node connects to the local host and/or to one or more remote hosts (called managed nodes in the context of Ansible), and performs installation and configuration steps on them. The RHEL System Roles for SAP, just like the RHEL System Roles, are installed and run from a central node referred to as the control node (which can be Ansible Automation controller, Red Hat Satellite, or a RHEL 9 or RHEL 8 host).
