Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Assert that all changes as requested by role sap-netweaver-preconfigure have been performed

License

Notifications You must be signed in to change notification settings

berndfinger/sap-netweaver-preconfigure-assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: Development and maintenance of this software has stopped.

For more information, see DISCONTINUATION_NOTICE.md.


sap-netweaver-preconfigure-assert

This role checks if a RHEL 7 or RHEL 8 system has been set up according to applicable SAP notes so that SAP NetWeaver can be installed.

Requirements

None.

Note

The role can check if enough swap space as per the prerequisite checker in sapinst has been configured on the managed node. Please check the SAP NetWeaver installation guide for swap space requirements.

Role Variables

Ignore assert errors

If the following variable is set to yes, the role will not fail in case of any assert errors. It will only print out warnings. Default is no, meaning that the role will fail on each assertion error.

sap_netweaver_preconfigure_assert_ignore_errors

Fail if there is less than 20480 MB of swap space configured

If the following variable is set to no, the role will not fail if less than 20480 MB of swap space is configured. Default is yes.

sap_netweaver_preconfigure_assert_fail_if_not_enough_swap_space_configured

Example Playbook

Here is a simple playbook which will check if your RHEL system is configured correctly for installation of SAP NetWeaver:

---
    - hosts: all
      roles:
         - role: sap-preconfigure-assert
         - role: sap-netweaver-preconfigure-assert

...

For a compact output when running with variable sap_netweaver_preconfigure_assert_ignore_errors to yes, you may use:

ansible-playbook -l remote_host sap-netweaver-assert.yml | awk '/SAP note/||/FAIL:/||/WARN/||/PASS:/{sub ("    \"msg\": ", ""); print}'

License

GNU General Public License v3.0

Author Information

Bernd Finger

About

Assert that all changes as requested by role sap-netweaver-preconfigure have been performed

Resources

License

Stars

Watchers

Forks

Packages

No packages published