<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ansible - rerun playbook with create vlan in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/ansible-rerun-playbook-with-create-vlan/m-p/66892#M388</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
&lt;BR /&gt;
Example. &lt;BR /&gt;
Playbook version 1:&lt;BR /&gt;
&lt;UL&gt; 
&lt;LI&gt;create vlan 100 
&lt;/LI&gt;&lt;/UL&gt;Success!&lt;BR /&gt;
&lt;BR /&gt;
Playbook version 2:&lt;BR /&gt;
&lt;UL&gt; 
&lt;LI&gt;create vlan 100 - Failed, already in use. 
&lt;/LI&gt;&lt;LI&gt;create vlan 200 
&lt;/LI&gt;&lt;/UL&gt;
Any suggestions on how to do this?</description>
    <pubDate>Thu, 27 Jun 2019 14:50:36 GMT</pubDate>
    <dc:creator>sbe</dc:creator>
    <dc:date>2019-06-27T14:50:36Z</dc:date>
    <item>
      <title>Ansible - rerun playbook with create vlan</title>
      <link>https://community.extremenetworks.com/t5/scripting/ansible-rerun-playbook-with-create-vlan/m-p/66892#M388</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
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).&lt;BR /&gt;
&lt;BR /&gt;
Example. &lt;BR /&gt;
Playbook version 1:&lt;BR /&gt;
&lt;UL&gt; 
&lt;LI&gt;create vlan 100 
&lt;/LI&gt;&lt;/UL&gt;Success!&lt;BR /&gt;
&lt;BR /&gt;
Playbook version 2:&lt;BR /&gt;
&lt;UL&gt; 
&lt;LI&gt;create vlan 100 - Failed, already in use. 
&lt;/LI&gt;&lt;LI&gt;create vlan 200 
&lt;/LI&gt;&lt;/UL&gt;
Any suggestions on how to do this?</description>
      <pubDate>Thu, 27 Jun 2019 14:50:36 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/ansible-rerun-playbook-with-create-vlan/m-p/66892#M388</guid>
      <dc:creator>sbe</dc:creator>
      <dc:date>2019-06-27T14:50:36Z</dc:date>
    </item>
  </channel>
</rss>

