Hello Jimmy,

Not sure if it's what you are looking for, when you run a playbook you can 
use the debugger 
<https://docs.ansible.com/ansible/latest/user_guide/playbooks_debugger.html?highlight=debugger>for
 
the whole playbook or each task.

You can also use the register variable 
<https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html?highlight=register#register-variables>
 
to do what every you want with what is Ansible-playbook run feedback

hope that help.

Matth



Le jeudi 27 décembre 2018 20:57:41 UTC+9, Jimmy Htor a écrit :
>
> Hey,
>
> The way I see it you either output to STDOUT, which would make debug 
> output part of the inventory data, thus corrupt it. Or you output to STDERR 
> and Ansible will treat is as actual errors (and show it using red color).
>
> Is there another way to cleanly provide debug info during an Ansible run 
> besides writing to a file?
>
> Thx
>

-- 
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/5fd6e690-ba25-4aef-a48b-e291ac8565c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to