Have you looked into creating an action_plugin (runs on localhost) that uses the non-standard module to do what it needs to do, then calls your module to be run remotely, but not needing the py lib anymore? Depending on what the py lib is doing, this may be an option for you. Check out https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/action for examples. template or copy might be good examples.
-- 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/551f55bb-cb73-4af3-a1e4-1545dd0e66d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.