Hi Peter, Will do. Thanks for the reply.
Regards, Rick From: Peter Sprygada <pspry...@redhat.com> Sent: Monday, January 28, 2019 4:54 PM To: Williams, Rick L <rick.willi...@nc.gov> Cc: Ansible Development <ansible-devel@googlegroups.com> Subject: [External] Re: [ansible-devel] nxos failure on 9k when removing vlan (nxos_vlan absent) CAUTION: External email. Do not click links or open attachments unless you verify. Send all suspicious email as an attachment to report.s...@nc.gov<mailto:report.s...@nc.gov> Yes, it would appear so. Could you open an issue at https://github.com/ansible/ansible/issues<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fansible%2Fansible%2Fissues&data=02%7C01%7Crick.williams%40nc.gov%7C04503506aa4f4a7cb57508d6856b207d%7C7a7681dcb9d0449a85c3ecc26cd7ed19%7C0%7C0%7C636843092482543948&sdata=W0sBTv5nalyiQ8hJor81hLXSDo4JLpZJDlgIfXYHMXU%3D&reserved=0> On Mon, Jan 28, 2019 at 10:59 AM Rick Williams <rick.willi...@nc.gov<mailto: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<mailto:ansible-devel+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Crick.williams%40nc.gov%7C04503506aa4f4a7cb57508d6856b207d%7C7a7681dcb9d0449a85c3ecc26cd7ed19%7C0%7C0%7C636843092482543948&sdata=5dIuLuO05rsI4DUPbaBqiBHH4R2PJqy3a59nYdyF5rw%3D&reserved=0>. ________________________________ Email correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official. -- 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.