cisco / cisco.nxos / 7.0.0 / module / nxos_vrrp Manages VRRP configuration on NX-OS switches. | "added in version" 1.0.0 of cisco.nxos" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)cisco.nxos.nxos_vrrp (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Manages VRRP configuration on NX-OS switches.
- name: Ensure vrrp group 100 and vip 10.1.100.1 is on vlan10 cisco.nxos.nxos_vrrp: interface: vlan10 group: 100 vip: 10.1.100.1
- name: Ensure removal of the vrrp group config cisco.nxos.nxos_vrrp: interface: vlan10 group: 100 vip: 10.1.100.1 state: absent
- name: Re-config with more params cisco.nxos.nxos_vrrp: interface: vlan10 group: 100 vip: 10.1.100.1 preempt: false priority: 130 authentication: AUTHKEY
vip: description: - VRRP virtual IP address or 'default' keyword type: str group: description: - VRRP group number. required: true type: str state: choices: - present - absent default: present description: - Specify desired state of the resource. type: str preempt: description: - Enable/Disable preempt. type: bool interval: description: - Time interval between advertisement or 'default' keyword required: false type: str priority: description: - VRRP priority or 'default' keyword type: str interface: description: - Full name of interface that is being managed for VRRP. required: true type: str admin_state: choices: - shutdown - no shutdown - default default: shutdown description: - Used to enable or disable the VRRP process. type: str authentication: description: - Clear text authentication string or 'default' keyword type: str
commands: description: commands sent to the device returned: always sample: - interface vlan10 - vrrp 150 - address 10.1.15.1 - authentication text testing - no shutdown type: list