What switch are you trying to send commands to? We have started to incorporate network device support into the module_utils for connecting to interactive devices over ssh with initial support for IOS based devices. See here for the IOS shared module support (https://github.com/ansible/ansible/pull/13358/files) and here (https://github.com/ansible/ansible-modules-core/pull/2587/files) for an example module
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d80472a1-122e-4705-a835-599a5fa434c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.