cancel
Showing results for 
Search instead for 
Did you mean: 

Ansible - rerun playbook with create vlan

Ansible - rerun playbook with create vlan

sbe
New Contributor
Hello,

I'm looking at using Ansible for EXOS. My plan is to make a playbook for switches, and then rerun the playbook when i make changes. This should be okay, but the playbook fails when it tries to recreate a VLAN. (As it would in the CLI).

Example.
Playbook version 1:
  • create vlan 100
Success!

Playbook version 2:
  • create vlan 100 - Failed, already in use.
  • create vlan 200
Any suggestions on how to do this?
0 REPLIES 0
GTM-P2G8KFN