In the ansible repo you can find the hacking/test-module script that
allows you to run/test a module and even attach a debugger to the run.

Other ways some people use is setting ANSIBLE_KEEP_REMOTE_FILES=1 and
using the resulting temporary files as python scripts under a
debugger.

One note with mysql, the latest version has made some backward
incompatible changes so and not all the module code paths have been
adjusted for that.


-- 
Brian Coca

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DoFy8-vcp6K990N0tc4LLGkiRha3QoGCv4jukHGN7Cjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to