wti.remote.cpm_config_backup (1.0.5) — lookup

Get parameters from WTI OOB and PDU devices

| "added in version" 2.9.0 of wti.remote"

Authors: Western Telematic Inc. (@wtinetworkgear)

preview | supported by community

Install collection

Install with ansible-galaxy collection install wti.remote:==1.0.5


Add to requirements.yml

  collections:
    - name: wti.remote
      version: 1.0.5

Description

Get parameters from WTI OOB and PDU devices

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
-   name: Get the Parameters for a WTI device
    cpm_config_backup:
        cpm_url: "nonexist.wti.com"
        cpm_username: "super"
        cpm_password: "super"
        use_https: true
        validate_certs: false

Inputs

    
cpm_url:
    description:
    - This is the URL of the WTI device to get the parameters from.
    required: true
    type: str

cpm_path:
    default: /tmp/
    description:
    - This is the directory path to store the WTI device configuration file.
    required: false
    type: str

use_https:
    default: true
    description:
    - Designates to use an https connection or http connection.
    required: false
    type: bool

use_proxy:
    default: false
    description: Flag to control if the lookup will observe HTTP proxy environment variables
      when present.
    required: false
    type: bool

cpm_password:
    description:
    - This is the Password of the WTI device to get the parameters from.
    required: true
    type: str

cpm_username:
    description:
    - This is the Username of the WTI device to get the parameters from.
    required: true
    type: str

validate_certs:
    default: true
    description:
    - If false, SSL certificates will not be validated. This should only be used
    - on personally controlled sites using self-signed certificates.
    required: false
    type: bool

Outputs

data:
  contains:
    status:
      description: List of status returns from backup operation
      returned: success
      sample:
      - code: 0
        savedfilename: /tmp/wti-192-10-10-239-2020-02-13T16-05-57.xml
        text: ok
      type: list
  description: The XML configuration of the WTI device queried
  returned: always
  type: complex