cisco / cisco.nxos / 7.0.0 / module / nxos_feature Manage features in NX-OS switches. | "added in version" 1.0.0 of cisco.nxos" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele), Suhas Bharadwaj (@srbharadwaj)cisco.nxos.nxos_feature (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Offers ability to enable and disable features in NX-OS.
- name: Ensure lacp is enabled cisco.nxos.nxos_feature: feature: lacp state: enabled
- name: Ensure ospf is disabled cisco.nxos.nxos_feature: feature: ospf state: disabled
- name: Ensure vpc is enabled cisco.nxos.nxos_feature: feature: vpc state: enabled
state: choices: - enabled - disabled default: enabled description: - Desired state of the feature. required: false type: str feature: description: - Name of feature. required: true type: str
commands: description: The set of commands to be sent to the remote device returned: always sample: - nv overlay evpn type: list