ansible / ansible.builtin / v2.3.3.0-1 / module / nxos_vtp_password Manages VTP password configuration. | "added in version" 2.2 of ansible.builtin" Authors: Gabriele Gerbino (@GGabriele) preview | supported by communityansible.builtin.nxos_vtp_password (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
Manages VTP password configuration.
# ENSURE VTP PASSWORD IS SET - nxos_vtp_password: password: ntc state: present host: "{{ inventory_hostname }}" username: "{{ un }}" password: "{{ pwd }}"
# ENSURE VTP PASSWORD IS REMOVED - nxos_vtp_password: password: ntc state: absent host: "{{ inventory_hostname }}" username: "{{ un }}" password: "{{ pwd }}"
state: choices: - present - absent default: present description: - Manage the state of the resource required: false vtp_password: default: null description: - VTP password required: false
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: 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