sap.sap_operations.rolling_kernel_switch module – Manage Rolling kernel switch

Note

This module 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.rolling_kernel_switch.

New in sap.sap_operations 1.0.0

Synopsis

  • Rolling kernel switch

Parameters

Parameter

Comments

ca_file

string

ca_file use CA certificate to secure the communication. By default system CA store is used.

force

boolean

If true don’t enforce some minor update checks.

Choices:

  • false ← (default)

  • true

hostname

string

hostname of the SAP system

instance_number

string / required

instance_number is the instance number to be managed.

password

string

password of the SAP system

secure

string

secure specify if secure communication should be enforced.

By default system CA store is used. User can pass custom CA by ca_file parameter.

Choices:

  • "strict" ← (default)

  • "insecure"

  • "none"

soft_timeout

integer

Wait timeout for the operation to complete before returning.

username

string

username of the SAP system

wait

boolean

Wait for the operation to complete before returning.

If set to true, module will wait for system update to finish.

If set to false, module will not wait for system update to finish. immediately.

Choices:

  • false

  • true ← (default)

wait_timeout

integer

Wait timeout for the operation to complete before returning.

Default: 600

Examples

- name: Run the system update
  sap.sap_operations.rolling_kernel_switch:
    username: "npladm"
    password: "secret123!"
    hostname: "sap.system.example.com"
    instance_number: "0"

Authors

  • Ondra Machacek (@machacekondra)