Hi… it assume that the mysql_user module is slightly buggy because it claims "changed=1" after a privileges change although nothing was changed. But I don't just like to complain but instead debug the module and see if I can provide a fix. So far I have git-clone'd [email protected]:ansible/ansible.git (recursively) and set
export ANSIBLE_LIBRARY=/home/chaas/tmp/ansible/lib/ansible/modules/core/database/mysql/ I have copied the mysql_user.py to mysql_user2.py and started debugging. However I wonder how I can debug the module. pdb didn't work as expected. And neither STDOUT nor STDERR can be used. I even tried to write to a "/tmp/debug" file but somehow even that didn't show anything. So I wonder how developers actually debug their code. Hints welcome. Thanks …Christoph -- 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/55312B99.6010704%40christoph-haas.de. For more options, visit https://groups.google.com/d/optout.
