sap.sap_operations.swpm role – Manage SAP SWPM (download / install / uninstall)
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.swpm
.
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
Tested only on RHEL 8 and 9
Tested only on x86_64 architecture
Entry point main
– Manage SAP SWPM (download / install / uninstall)
Synopsis
Manage SAP SWPM
Role will download SAP SWPM binary from SAP SWDC (software download center)
Role will use ansible_facts to determine current host os system and architecture to download correct binary
Role will download latest SP available from SAP SWDC web site in that sense role is not idempotent, because next time one will run this role, there might be new SP of SAP SWPM
Role will not do anything if swpm_state=’present’ and file sapinst exists in swpm_unpack_destination
Parameters
Parameter |
Comments |
---|---|
Path there SAP SWPM binary archive will be downloaded (in case of swpm_state=’present’ or swpm_state=’downloaded’) Role will not create swpm_download_destination folder or any folders above it. It has to exists Default: |
|
Password of provided username that will be used to download software By default value is from collection variable `sap_operations_download_password`. Collection variable `sap_operations_download_password` default value is set to environment variable SAP_OPERATIONS_DOWNLOAD_PASSWORD |
|
Username (sap support user, suser) that will be used to download software. By default value is from collection variable `sap_operations_download_username`. Collection variable `sap_operations_download_username` default value is set to environment variable SAP_OPERATIONS_DOWNLOAD_USERNAME |
|
State for SAP SWPM present - role will ensure that executable will downloaded and installed (copied to swpm_unpack_destination) present - will do any changes only if file sapinst in swpm_unpack_destination does not exists absent - role will ensure that SAP SWPM is absent, swpm_unpack_destination directory will be removed downloaded - role will only download SAP SWPM binary archive Choices:
|
|
Path there SAP SWPM binary archive will be unpacked (in case of swpm_state=’present’) Role will not create swpm_unpack_destination folder or any folders above it. It has to exists Default: |
|
SAP SWPM version that will be downloaded and / or installed Role will always download SP version that was changed last on SAP SWDC (software download center) Choices:
|