sap.sap_operations.me_file_info module – File information

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

New in sap.sap_operations 1.10.0

Synopsis

Note

This module has a corresponding action plugin.

Parameters

Parameter

Comments

file_id

string / required

File id to fetch the info.

password

string / required

password of the username.

username

string / required

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

Examples

- name: Fetch info about the file
  me_file_info:
    username: "S0000000000"
    password: "secret"
    file_id: "0030000000103162022"

Return Values

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

Key

Description

file_info

dictionary

File values

Returned: always

Sample: {"ChangedBy": "", "ChangedByName": "", "ChangedOn": "/Date(1644323565000)/", "Checksum": "035167426426e53cadc2112761134fdde66be1033f9f0117966b0b9ad5ea0a97", "ComponentRelease": "", "CreatedBy": "", "CreatedByName": "", "CreatedOn": "/Date(1643310038000)/", "EpsFileName": "", "FileName": "51055299.ZIP", "FileSize": "14975391 ", "FileType": "ZIP", "FileVersion": "003", "InfoMimeType": "", "InfoText": "", "InfoXml": "", "IsAbapObject": false, "IsContentInfoAvailable": false, "IsFcmsViewAvailable": false, "IsSupportPackage": false, "MinimalBasisRelease": "", "ObjectAttributes": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectAttributes"}}, "ObjectConditions": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectConditions"}}, "ObjectKey": "0030000000103162022", "ObjectList": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectList"}}, "ObjectProperties": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectProperties"}}, "ObjectSAPNotes": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSAPNotes"}}, "ObjectSAPNotesCategoryFilter": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSAPNotesCategoryFilter"}}, "ObjectSAPNotesComponentFilter": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSAPNotesComponentFilter"}}, "ObjectSAPNotesCountryFilter": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSAPNotesCountryFilter"}}, "ObjectSAPNotesPriorityFilter": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSAPNotesPriorityFilter"}}, "ObjectSideEffects": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSideEffects"}}, "ObjectSourcePackages": {"__deferred": {"uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')/ObjectSourcePackages"}}, "PackageLevel": "", "PatchType": "", "RequiredSpamVersion": "", "Responsible": "", "ResponsibleName": "", "Status": "AVAILABLE", "StatusDescr": "The File is available to download", "Title": "SAP HANA Platform Edt. 2.0 SPS05 rev57 Linux x86_64", "__metadata": {"id": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')", "type": "SVT_SWDC_UI_SRV.Object", "uri": "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')"}}

Authors

  • Ondra Machacek (@machacekondra)

  • Kirill Satarin (@kksat)