Hi all,
When I write a playbook and run it, I often add a stupid bug and running the playbook fails at some point. Fixing these bugs often takes time since I am not sure actual values of facts, variables and so on. Then I think it would be nice if I have a debugger for it.
So I’ve created ‘debug’ strategy. The strategy enables you to invoke a debugger when a task is failed, and check several info, such as the value of a variable. Also, it is possible to update module arguments in the debugger, and run the failed task again with new arguments to consider how you can fix an issue.
Visit https://github.com/ks888/ansible-playbook-debugger to see an example and get it.
Please tell me if you have any opinions!
Thanks,
Kishin