community.sap_launchpad.systems_info (1.1.1) — module

Queries registered systems in me.sap.com

| "added in version" 1.1.0 of community.sap_launchpad"

Authors: Lab for SAP Solutions

Install collection

Install with ansible-galaxy collection install community.sap_launchpad:==1.1.1


Add to requirements.yml

  collections:
    - name: community.sap_launchpad
      version: 1.1.1

Description

Fetch Systems from U(me.sap.com) with ODATA query filtering and returns the discovered Systems.

The query could easily copied from U(https://launchpad.support.sap.com/services/odata/i7p/odata/bkey)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get system by SID and product
  community.sap_launchpad.systems_info:
    suser_id: 'SXXXXXXXX'
    suser_password: 'password'
    filter: "Insnr eq '12345678' and sysid eq 'H01' and ProductDescr eq 'SAP S/4HANA'"
  register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Display the first returned system
  debug:
    msg:
      - "{{ result.systems[0] }}"

Inputs

    
filter:
    description:
    - An ODATA filter expression to query the systems.
    required: true
    type: str

suser_id:
    description:
    - SAP S-User ID.
    required: true
    type: str

suser_password:
    description:
    - SAP S-User Password.
    required: true
    type: str

Outputs

systems:
  description: the systems returned for the filter
  returned: always
  type: list