Skip to content

Latest commit

 

History

History
221 lines (188 loc) · 8.43 KB

cisco.nxos.nxos_vtp_password_module.rst

File metadata and controls

221 lines (188 loc) · 8.43 KB

cisco.nxos.nxos_vtp_password

Manages VTP password configuration.

Version added: 1.0.0

  • Manages VTP password configuration.
Parameter Choices/Defaults Comments
state
string
    Choices:
  • present ←
  • absent
Manage the state of the resource
vtp_password
string
VTP password

Note

# ENSURE VTP PASSWORD IS SET
- cisco.nxos.nxos_vtp_password:
    state: present
    host: '{{ inventory_hostname }}'
    username: '{{ un }}'
    password: '{{ pwd }}'

# ENSURE VTP PASSWORD IS REMOVED
- cisco.nxos.nxos_vtp_password:
    state: absent
    host: '{{ inventory_hostname }}'
    username: '{{ un }}'
    password: '{{ pwd }}'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
changed
boolean
always
check to see if a change was made on the device

Sample:
True
end_state
dictionary
always
k/v pairs of vtp after module execution

Sample:
{'domain': 'ntc', 'version': '1', 'vtp_password': 'new_ntc'}
existing
dictionary
always
k/v pairs of existing vtp

Sample:
{'domain': 'ntc', 'version': '1', 'vtp_password': 'ntc'}
proposed
dictionary
always
k/v pairs of parameters passed into module

Sample:
{'vtp_password': 'new_ntc'}
updates
list
always
command sent to the device

Sample:
['vtp password new_ntc']


Authors

  • Gabriele Gerbino (@GGabriele)