sap.sap_operations.system_info (1.25.0) — module

SAP system information

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

Authors: Ondra Machacek (@machacekondra), Kirill Satarin (@kksat)

Install collection

Install with ansible-galaxy collection install sap.sap_operations:==1.25.0


Add to requirements.yml

  collections:
    - name: sap.sap_operations
      version: 1.25.0

Description

Fetch the info about SAP system


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Fetch system info
  sap.sap_operations.system_info:
    username: "npladm"
    password: "secret123!"
    hostname: "sap.system.example.com"
    instance_number: "0"
    status: started

Inputs

    
secure:
    choices:
    - strict
    - insecure
    - none
    default: strict
    description:
    - I(secure) specify if secure communication should be enforced.
    - By default system CA store is used. User can pass custom CA by I(ca_file) parameter.
    type: str

status:
    description:
    - Return only instances with the I(status).
    type: str

ca_file:
    description:
    - I(ca_file) use CA certificate to secure the communication. By default system CA
      store is used.
    type: str

feature:
    description:
    - Return only instances with the I(feature).
    type: str

hostname:
    description:
    - I(hostname) of the SAP system
    type: str

password:
    description:
    - I(password) of the SAP system
    type: str

username:
    description:
    - I(username) of the SAP system
    type: str

instance_number:
    description:
    - The instance number of the managed service.
    - Must be between "00" and "99".
    required: true
    type: str

Outputs

system_info:
  description: System info
  returned: always
  sample:
  - dispstatus: SAPControl-GREEN
    features: MESSAGESERVER|ENQUE,
    hostname: vhcalnplcs,
    httpPort: 50113,
    httpsPort: 50114,
    instanceN': 1,
    startPriority: 1,
  type: list