ansible / ansible.builtin / v2.6.0 / module / nxos_vpc Manages global VPC configuration | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_vpc (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
Manages global VPC configuration
- name: configure a simple asn nxos_vpc: domain: 100 role_priority: 1000 system_priority: 2000 pkl_dest: 192.168.100.4 pkl_src: 10.1.100.20 peer_gw: true auto_recovery: true
- name: configure nxos_vpc: domain: 100 role_priority: 32667 system_priority: 2000 peer_gw: true pkl_src: 10.1.100.2 pkl_dest: 192.168.100.4 auto_recovery: true
state: choices: - present - absent description: - Manages desired state of the resource required: true domain: description: - VPC domain required: true peer_gw: description: - Enables/Disables peer gateway type: bool pkl_src: description: - Source IP address used for peer keepalive link pkl_vrf: default: management description: - VRF used for peer keepalive link pkl_dest: description: - Destination (remote) IP address used for peer keepalive link auto_recovery: description: - Enables/Disables auto recovery type: bool delay_restore: description: - manages delay restore command and config value in seconds type: bool role_priority: description: - Role priority for device. Remember lower is better. system_priority: description: - System priority device. Remember they must match between peers.
commands: description: commands sent to the device returned: always sample: - vpc domain 100 - peer-keepalive destination 192.168.100.4 source 10.1.100.20 vrf management - auto-recovery - peer-gateway type: list