sap.sap_operations.sapinst role – Role to run sapinst to install SAP applications

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

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

  • Only tested in certain scenarios

Entry point main – Role to run sapinst to install SAP applications

Synopsis

  • Role to run sapinst to install SAP applications

  • This role should not be called directly, but rather from other roles that install SAP products (like role smda for Solution Manager Diagnostic Agent installation)

Parameters

Parameter

Comments

sapinst_allow_direct_usage

boolean

Set true to allow direct call of this role, not recommended

Choices:

  • false ← (default)

  • true

sapinst_directory_path

path

Directory where temp sapinst_directory will be created

Default: "/tmp"

sapinst_folder

path

Folder where sapinst binary is located

Default: "/usr/sap/swpm"

sapinst_message_console_threshold

string

sapinst parameter SAPINST_MESSAGE_CONSOLE_THRESHOLD Trace level console See sapinst documentation SAP default value is warning. This role uses default value error to limit sapinst console output

Choices:

  • "flow_trace"

  • "trace"

  • "info"

  • "phase"

  • "warning"

  • "error" ← (default)

  • "external"

sapinst_params

dictionary / required

Dictionary of sapinst parameters, will be converted to inifile.params for installation

sapinst_prefix

string

Prefix for temp directory sapinst_directory

Default: "sapinst"

sapinst_product_id

string / required

Product id

Choices:

  • "NW_DiagnosticsAgent:GENERIC.IND.PD"

  • "NW_Uninstall:GENERIC.IND.PD"

  • "download_service_toplevel:GENERIC.IND.PD"

sapinst_skip_errorstep

boolean

If set to ‘true’, the first step with status ERROR is skipped; step status is set to ‘OK’. See sapinst documentation for parameter SAPINST_SKIP_ERRORSTEP.

Choices:

  • false ← (default)

  • true

sapinst_suffix

string

Suffix for temp directory sapinst_directory

Default: ""