sap.sap_operations.unpack role – Role to unpack *.sar and *.zip files.
Note
This role is part of the sap.sap_operations collection (version 1.0.2).
To install it use: ansible-galaxy collection install sap.sap_operations.
To use it in a playbook, specify: sap.sap_operations.unpack.
Entry point main – Role to unpack *.sar and *.zip files.
Synopsis
Role to unpack *.sar and *.zip files.
This role is NOT idempotent for *.sar files.
Meaning it will unpack all the *.sar files every time role is executed.
For unpacking *.zip files Ansible module ansible.builtin.unarchive is used and this module is idempotent.
Role prerequisites:
* ‘unzip’ is installed (will not be installed by this role), if ‘unzip’ command is missing, role will fail.
* SAPCAR should be installed in ‘sap_operations_sapcar_exe_path’ (default value /usr/sap/sapcar/sapcar).
If SAPCAR is not installed at ‘sap_operations_sapcar_exe_path’ role will fail.
Ansible user has to have persmissions to execute SAPCAR.
Parameters
Parameter |
Comments |
|---|---|
|
|
Choices:
|
|
Path to SAPCAR executable file. SAPCAR should be installed as a prerequisite for this role.
Default: |
|
|