sap.sap_operations.prepare role – Prepare RHEL managed host to run content from sap.sap_operations

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.prepare.

Entry point __author__ – Author Information

Synopsis

  • Kirill Satarin (@kksat)

Entry point __examples__ – Playbook examples

Synopsis

  • ```ansible

    • hosts: all

  • roles:

    • role: sap.sap_operations.prepare

  • ```

  • ```ansible

    • hosts: all

  • vars:

  • prepare_assert: true

  • roles:

    • role: sap.sap_operations.prepare

  • ```

Entry point __license__ – License

Synopsis

  • GPL-3.0-only

Entry point __requirements__ – Requirements

Synopsis

  • Role requires root access in order to install necessary packages and other sap.sap_operations collection prerequisites (normal mode).

Entry point main – Prepare RHEL managed host to run content from sap.sap_operations

Synopsis

  • Role ensures that all collection sap.sap_operations prerequisites are met.

  • Role works in two modes - normal and assert.

  • In normal mode it ensures that all prerequisites to run content from collection sap.sap_operations are met.

  • In assert mode it fails if collection prerequisites are not met on the host.

  • Role will only collect facts if OS distribution is not RedHat.

Parameters

Parameter

Comments

prepare_assert

boolean

If set to True role will only assert that all sap.sap_operations collection prerequisites are met.

Is set to False (default) will ensure that all sap.sap_operations collection prerequisites are met (root access required)

Choices:

  • false ← (default)

  • true