community.sap.sap_system_facts module – Gathers SAP facts in a host
Note
This module is part of the community.sap collection (version 1.0.0).
You might already have this collection installed if you are using the ansible
package.
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 community.sap
.
To use it in a playbook, specify: community.sap.sap_system_facts
.
New in version 1.0.0: of community.sap
Returned Facts
Facts returned by this module are added/updated in the hostvars
host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
Key |
Description |
---|---|
Facts about the running SAP system. 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”}] |
Authors
Rainer Leber (@rainerleber)