community.sap.sap_system_facts (1.0.0) — module

Gathers SAP facts in a host

| "added in version" 1.0.0 of community.sap"

Authors: Rainer Leber (@rainerleber)

Install collection

Install with ansible-galaxy collection install community.sap:==1.0.0


Add to requirements.yml

  collections:
    - name: community.sap
      version: 1.0.0

Description

This facts module gathers SAP system facts about the running instance.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Return SAP system ansible_facts
  community.sap.sap_system_fact:

Outputs

ansible_facts:
  contains:
    sap:
      description: Facts about the running SAP system.
      elements: dict
      returned: When SAP system fact is present
      sample:
      - InstanceType: NW
        NR: '00'
        SID: ABC
        TYPE: ASCS
      - InstanceType: NW
        NR: '01'
        SID: ABC
        TYPE: PAS
      - InstanceType: HANA
        NR: '02'
        SID: HDB
        TYPE: HDB
      - InstanceType: NW
        NR: '80'
        SID: WEB
        TYPE: WebDisp
      type: list
  description: Facts to add to ansible_facts.
  elements: dict
  returned: always
  type: list