ciena.saos10.saos10_format_xml (1.2.2) — module

Format saos XML

| "added in version" 1.0.0 of ciena.saos10"

Authors: Jeff Groom (jgroom@ciena.com)

Install collection

Install with ansible-galaxy collection install ciena.saos10:==1.2.2


Add to requirements.yml

  collections:
    - name: ciena.saos10
      version: 1.2.2

Description

remove namespaces and other useless things from saos xml config

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in an xml config
- name: Test with a config
  ciena.saos10.saos10_format_xml:
    xml_string: '<data>....</data>'

Inputs

    
xml_string:
    description: xml config
    required: true
    type: str

Outputs

result:
  description: formatted xml
  returned: always
  sample: <config>....</config>
  type: str