ansible / ansible.builtin / v2.9.0 / module / nxos_feature Manage features in NX-OS switches. | "added in version" 2.1 of ansible.builtin" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_feature (v2.9.0) — module
pip
Install with pip install ansible==2.9.0
Offers ability to enable and disable features in NX-OS.
- name: Ensure lacp is enabled nxos_feature: feature: lacp state: enabled
- name: Ensure ospf is disabled nxos_feature: feature: ospf state: disabled
- name: Ensure vpc is enabled nxos_feature: feature: vpc state: enabled
state: choices: - enabled - disabled default: enabled description: - Desired state of the feature. required: false feature: description: - Name of feature. required: true
commands: description: The set of commands to be sent to the remote device returned: always sample: - nv overlay evpn type: list