sap.sap_operations.parameter_info (1.25.0) — module

Parameter information

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

Authors: Ondra Machacek (@machacekondra)

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 profile parameter from SAP via SOAP


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Use module with local socket on target machine
  sap.sap_operations.parameter_info:
    instance_number: "0"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Fetch values of all parameters
  sap.sap_operations.parameter_info:
    username: "npladm"
    password: "secret123!"
    hostname: "sap.system.example.com"
    instance_number: "0"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Fetch values of DIR_CT_RUN parameter
  sap.sap_operations.parameter_info:
    username: "npladm"
    password: "secret123!"
    hostname: "sap.system.example.com"
    instance_number: "0"
    name: DIR_CT_RUN

Inputs

    
name:
    description:
    - Parameter name to fetch info about.
    type: str

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

ca_file:
    description:
    - I(ca_file) use CA certificate to secure the communication. By default system CA
      store is used.
    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:
    - I(instance_number) is the instance number to be managed.
    required: true
    type: str

Outputs

parameter_value:
  description: Parameter values
  returned: always
  sample:
  - /usr/sap/NPL/SYS/exe/uc/linuxx86_64
  type: list