Yes, it would appear so. Could you open an issue at https://github.com/ansible/ansible/issues
On Mon, Jan 28, 2019 at 10:59 AM Rick Williams <rick.willi...@nc.gov> wrote: > Hi all, > > I'm running into problems with nxos_vlan vlan removal on cisco nexus 9K. > Works ok on 5k. For the 9k, ansible seems to try VXLAN commands when not > configured for VXLAN. > > "10.6.0.81": { > "_ansible_no_log": false, > "_ansible_parsed": true, > "action": "nxos_vlan", > "changed": false, > "failed": true, > "invocation": { > "module_args": { > "admin_state": "up", > "aggregate": null, > "associated_interfaces": null, > "auth_pass": null, > "authorize": null, > "delay": 10, > "host": null, > "interfaces": null, > "mapped_vni": null, > "mode": null, > "name": "DEPTTEST-SF-TEST-dmz2", > "password": null, > "port": null, > "provider": null, > "purge": false, > "ssh_keyfile": null, > "state": "absent", > "timeout": null, > "transport": null, > "use_ssl": null, > "username": null, > "validate_certs": null, > "vlan_id": 53, > "vlan_range": null, > "vlan_state": "active" > } > }, > "msg": "no vn-segment\r\r\n > ^\r\n% Invalid command at '^' > marker.\r\n\rEDC-SF-LAB-9504-81(config-vlan)# " > > Here's a 5k result: > > "10.6.0.78": { > "_ansible_no_log": false, > "_ansible_parsed": true, > "action": "nxos_vlan", > "changed": true, > "commands": [ > "no vlan 53" > ], > "invocation": { > "module_args": { > "admin_state": "up", > "aggregate": null, > "associated_interfaces": null, > "auth_pass": null, > "authorize": null, > "delay": 10, > "host": null, > "interfaces": null, > "mapped_vni": null, > "mode": null, > "name": "DEPTTEST-SF-TEST-dmz2", > "password": null, > "port": null, > "provider": null, > "purge": false, > "ssh_keyfile": null, > "state": "absent", > "timeout": null, > "transport": null, > "use_ssl": null, > "username": null, > "validate_certs": null, > "vlan_id": 53, > "vlan_range": null, > "vlan_state": "active" > } > } > }, > > Does this seem like a bug ? > > Regards, > > Rick > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ansible-devel+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.