sap.sap_operations.hana role – Manage SAP HANA instance

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.

Entry point __author__ – Author Information

Synopsis

  • Kirill Satarin (@kksat)

Entry point __dependencies__ – Dependencies

Synopsis

  • Role has no dependencies to other roles.

Entry point __license__ – License

Synopsis

  • GPL-3.0-only

Entry point __limitations__ – Limitations

Synopsis

  • Role was tested only on single host.

Entry point main – Manage SAP HANA instance

Synopsis

  • Manage SAP HANA instance

  • Role will not do anything is there is an instance already installed with SID=hana_sid or hana_instance_number is already occupied

Parameters

Parameter

Comments

hana_instance_number

string

SAP HANA instance number

hana_master_password

string

SAP HANA master password.

Master password is not required when all other passwords are set.

If any other password is not set it will default to master password.

hana_medium

path / required

Location of Installation Medium

hana_password

string

System Administrator Password (<sid>adm). If not set will default to hana_master_password variable.

hana_root_password

string

Root User Password For Remote Hosts. If not set will default to hana_master_password variable.

hana_sapadm_password

string

SAP Host Agent User (sapadm) password. If not set will default to hana_master_password variable.

hana_sid

string / required

SAP HANA SID

hana_state

string

Defines if SAP HANA has to be installed or uninstalled.

Choices:

  • "present" ← (default)

  • "absent"

hana_system_user_password

string

Database User Password. If not set will default to hana_master_password variable.