Header Only - DO NOT REMOVE - Extreme Networks
Question

Ansible - rerun playbook with create vlan

  • 27 June 2019
  • 0 replies
  • 285 views

  • New Member
  • 0 replies
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

Be the first to reply!

Reply