350-601 · Question #723
Refer to the exhibit. Three VLANs are configured on Cisco Nexus Series Switch called GRPIC1SW01. An engineer must remove only VLAN 3 from the existing configuration using the existing Ansible…
The correct answer is B. state: overridden. The state: overridden option in the Ansible cisco.nxos.nxos_vlans module will ensure that only the VLANs specified in the playbook (VLAN 5 and VLAN 10) remain configured on the switch. Any existing VLANs not defined in the config list (such as VLAN 3) will be removed, meeting…
Question
Refer to the exhibit. Three VLANs are configured on Cisco Nexus Series Switch called GRPIC1SW01. An engineer must remove only VLAN 3 from the existing configuration using the existing Ansible playbook. Which module statement must be added under Task_1 to complete the playbook?
Exhibit
Options
- Astate: replaced
- Bstate: overridden
- Cstate: merged
- Dstate: deleted
How the community answered
(33 responses)- A12% (4)
- B79% (26)
- C3% (1)
- D6% (2)
Explanation
The state: overridden option in the Ansible cisco.nxos.nxos_vlans module will ensure that only the VLANs specified in the playbook (VLAN 5 and VLAN 10) remain configured on the switch. Any existing VLANs not defined in the config list (such as VLAN 3) will be removed, meeting the requirement to delete only VLAN 3 while keeping VLAN 5 and VLAN 10.
Topics
Community Discussion
No community discussion yet for this question.
