sap.sap_operations.swpm_download_service role – Use SWPM download service to download binaries for maintenance plan.

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

Entry point __author__ – Author Information

Synopsis

  • Kirill Satarin (@kksat)

Entry point __dependencies__ – Dependencies

Synopsis

  • Role executes sap.sap_operations.sapinst role.

  • Role expects that SAP SWPM is already installed in default location, see role sap.sap_operations.sapinst and sap.sap_operations.swpm

Entry point __examples__ – Example Playbooks

Synopsis

    • name: Run role swpm_download_service

  • ansible.builtin.include_role:

  • name: sap.sap_operations.swpm_download_service

  • vars:

  • swpm_download_service_directory: /tmp/

  • swpm_download_service_plan_id: ‘1002099834’

Entry point __license__ – License

Synopsis

  • GPL-3.0-only

Entry point __limitations__ – Limitations

Synopsis

Entry point main – Use SWPM download service to download binaries for maintenance plan.

Synopsis

  • Use SWPM download service to download binaries for maintenance plan.

  • Role is not idempotent it will call sapinst binary and try to download binaries from Maintenance planner plan id every time it is executed

  • Role expects that SAP SWPM already installed in default location. How to install SAP SWPM see role sap.sap_operations.swpm For non default locations see role sap.sap_operations.sapinst

  • Role expects that user group ‘sapinst’ already exists, it will fail if not.

Parameters

Parameter

Comments

swpm_download_service_directory

path / required

Directory where all binaries will be downloaded. Should be writable.

swpm_download_service_password

string / required

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

swpm_download_service_plan_id

string / required

Maintenance planner plan id. All binaries in that plan will be downloaded.

swpm_download_service_username

string / required

Username (sap support user, suser) that will be used to download software. This should be suser id (S000) not email. 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