sap.sap_operations.general_preconfigure role – Role attempts to prepare host to SAP products installation

Note

This role is part of the sap.sap_operations collection.

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install sap.sap_operations.

To use it in a playbook, specify: sap.sap_operations.general_preconfigure.

Entry point __author__ – Author Information

Synopsis

  • Kirill Satarin (@kksat)

Entry point __dependencies__ – Dependencies

Synopsis

  • Role has no dependencies to other roles.

Entry point __examples__ – Example Playbooks

Synopsis

Entry point __license__ – License

Synopsis

  • GPL-3.0-only

Entry point __limitations__ – Limitations

Synopsis

  • Role was tested only on x86_64 architecture

Entry point main – Role attempts to prepare host to SAP products installation

Synopsis

  • Role attempts to prepare host to SAP products installation

  • Role will install packages, configure selinux, configure tmpfs, configured services, configure kernel parameters

Parameters

Parameter

Comments

general_preconfigure_reboot

string

How reboot has to be handled none - no reboot will be be required after role applied, role will not install packages that might require reboot. Not all requirements can be fulfilled that way. List of packages to be skipped see <https://access.redhat.com/solutions/27943> postpone - (default behavior) role will not flush handlers at the end of execution, but reboot handler will be notified, in this case this is a user obligation to flush handlers (and thus reboot the host). now - role will flush handlers at the end of the execution - this is might not be desirable, in situations when another role that requires reboot will run after.

Choices:

  • "none"

  • "postpone" ← (default)

  • "now"

general_preconfigure_reboot_timeout

integer

Timeout for reboot handler, see how reboot is handled in general_preconfigure_reboot parameter description

Default: 3600

general_preconfigure_tmpfs_size_gb

string

Size of tmpfs to configure (in gigabytes)

Default: "{% raw %}{{ ((0.75 * (ansible_facts['memtotal_mb'] + ansible_facts['swaptotal_mb'])) / 1024) | round | int }}{% endraw %}"