cisco / cisco.nxos / 7.0.0 / module / nxos_vtp_password Manages VTP password configuration. | "added in version" 1.0.0 of cisco.nxos" Authors: Gabriele Gerbino (@GGabriele)cisco.nxos.nxos_vtp_password (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Manages VTP password configuration.
# 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 }}'
state: choices: - present - absent default: present description: - Manage the state of the resource type: str vtp_password: description: - VTP password type: str
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 after module execution returned: always sample: domain: ntc version: '1' vtp_password: new_ntc type: dict existing: description: - k/v pairs of existing vtp returned: always sample: domain: ntc version: '1' vtp_password: ntc type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: vtp_password: new_ntc type: dict updates: description: command sent to the device returned: always sample: - vtp password new_ntc type: list