sap.sap_operations.me_downloadbasket_info module – Fetch information from SAP software center download basket

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

New in sap.sap_operations 1.10.0

Synopsis

Note

This module has a corresponding action plugin.

Parameters

Parameter

Comments

password

string / required

password of the username.

username

string / required

username of SAP support portal. Either universal id or suser.

Notes

Note

  • This module is community supported

  • Module interface (parameters, output) expected to be stable but not guaranteed

  • Module planned to be released on Ansible Automation Hub after collecting some feedback

  • There is no guarantee that this module will be officially supported by Red Hat

Examples

- name: Get information about SAP support portal download basket
  sap.sap_operations.me_downloadbasket_info:
    username: "S0000000000"
    password: "secret"

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

me_downloadbasket_info

list / elements=dictionary

List of dictionaries with information about download basket items

Returned: success

Sample: {"me_downloadbasket_info": [{"DirectDownloadUrl": "https://softwaredownloads.sap.com/file/0030000001159172022", "EccnApproval": "", "EccnExportLicense": "", "ObjectBasket": "DOWNLOAD", "ObjectChangedBy": "S0023963562", "ObjectChangedOn": "/Date(1666506204000)/", "ObjectDescription": "SAP HANA Platform Edt. 2.0 SPS06 rev63 Linux x86_64", "ObjectErrorCode": 0, "ObjectExpirationDate": null, "ObjectExportBlockFlag": false, "ObjectKey": "0030000001159172022", "ObjectLocked": false, "ObjectName": "51055761.ZIP", "ObjectReferenceNumber": "", "ObjectRegisteredOn": "/Date(1666506203000)/", "ObjectSize": 14884077, "ObjectSizeUnit": "KB", "ObjectStatus": 1, "ObjectStatusDescription": "Available to download", "ObjectType": "CD", "SoftwareEntitlementKey": "", "__metadata": {"id": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0030000001159172022',ObjectBasket='DOWNLOAD')", "type": "SVT_SWDC_UI_SRV.DownloadBasketItem", "uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0030000001159172022',ObjectBasket='DOWNLOAD')"}}, {"DirectDownloadUrl": "https://softwaredownloads.sap.com/file/0010000000046522013", "EccnApproval": "", "EccnExportLicense": "", "ObjectBasket": "DOWNLOAD", "ObjectChangedBy": "S0023963562", "ObjectChangedOn": "/Date(1666506187000)/", "ObjectDescription": "Attribute Change Package 03 for RTCISM 100", "ObjectErrorCode": 0, "ObjectExpirationDate": null, "ObjectExportBlockFlag": false, "ObjectKey": "0010000000046522013", "ObjectLocked": false, "ObjectName": "RTCISM100.SAR", "ObjectReferenceNumber": "", "ObjectRegisteredOn": "/Date(1666506131000)/", "ObjectSize": 4, "ObjectSizeUnit": "KB", "ObjectStatus": 1, "ObjectStatusDescription": "Available to download", "ObjectType": "SPAT", "SoftwareEntitlementKey": "", "__metadata": {"id": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0010000000046522013',ObjectBasket='DOWNLOAD')", "type": "SVT_SWDC_UI_SRV.DownloadBasketItem", "uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/DownloadBasketItemSet(ObjectKey='0010000000046522013',ObjectBasket='DOWNLOAD')"}}]}

Authors

  • Kirill Satarin (@kksat)