sap.sap_operations.hana_sudoers role – Manage SAP HANA sudoers records

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

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

  • Role tested only for scaleup systems

Entry point main – Manage SAP HANA sudoers records

Synopsis

Parameters

Parameter

Comments

hana_sudoers_data_centers

string

List of data centers to create records for. By default records will not be limited to datacenter (see default value)

Default: "['*']"

hana_sudoers_sids

list / elements=string

SAP HANA sid (system id) to configure sudoers file

Can be list of single value

If not defined or is empty list, list of installed SAP HANA instances will be determined by the role

Default: []

hana_sudoers_state

string

Ensure records are present or absent in sudoers file

Choices:

  • "present" ← (default)

  • "absent"