ansible.builtin.nxos_vtp_version (v2.6.0) — module

Manages VTP version 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.6.0

Description

Manages VTP version configuration.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ENSURE VTP VERSION IS 2
- nxos_vtp_version:
    version: 2
    host: "{{ inventory_hostname }}"
    username: "{{ un }}"
    password: "{{ pwd }}"

Inputs

    
version:
    choices:
    - '1'
    - '2'
    description:
    - VTP version number.
    required: true

Outputs

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