ansible / ansible.builtin / v2.5.10 / module / nxos_vrf_interface Manages interface specific VRF configuration. | "added in version" 2.1 of ansible.builtin" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_vrf_interface (v2.5.10) — module
pip
Install with pip install ansible==2.5.10
Manages interface specific VRF configuration.
- name: Ensure vrf ntc exists on Eth1/1 nxos_vrf_interface: vrf: ntc interface: Ethernet1/1 state: present
- name: Ensure ntc VRF does not exist on Eth1/1 nxos_vrf_interface: vrf: ntc interface: Ethernet1/1 state: absent
vrf: description: - Name of VRF to be managed. required: true state: choices: - present - absent default: present description: - Manages desired state of the resource. required: false interface: description: - Full name of interface to be managed, i.e. Ethernet1/1. required: true
commands: description: commands sent to the device returned: always sample: - interface loopback16 - vrf member ntc type: list