ansible.builtin.nxos_vtp_domain (v2.9.0) — module

Manages VTP domain configuration.

| "added in version" 2.2 of ansible.builtin"

Authors: Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.0

Description

Manages VTP domain configuration.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ENSURE VTP DOMAIN IS CONFIGURED
- nxos_vtp_domain:
    domain: ntc
    host: "{{ inventory_hostname }}"
    username: "{{ un }}"
    password: "{{ pwd }}"

Inputs

    
domain:
    description:
    - VTP domain name.
    required: true

Outputs

changed:
  description: check to see if a change was made on the device
  returned: always
  sample: true
  type: bool
end_state:
  description: k/v pairs of vtp domain after module execution
  returned: always
  sample:
    domain: ntc
    version: '2'
    vtp_password: ''
  type: dict
existing:
  description:
  - k/v pairs of existing vtp domain
  returned: always
  sample:
    domain: testing
    version: '2'
    vtp_password: ''
  type: dict
proposed:
  description: k/v pairs of parameters passed into module
  returned: always
  sample:
    domain: ntc
  type: dict
updates:
  description: command sent to the device
  returned: always
  sample:
  - vtp domain ntc
  type: list