On 26. aug. 2016 11:33, [email protected] wrote:
The callbacks don't work as using callback I am not able to remove messages
like
PLAY [all]
*********************************************************************
TASK [cmx_running_services]
****************************************************
...
PLAY RECAP
*********************************************************************
172.31.35.225 : ok=2 changed=0 unreachable=0 failed=0
172.31.9.253 : ok=2 changed=0 unreachable=0 failed=0
I want my playbook to output only in json format and no such text like above
Have you tried json call_back_plugin, it does exactly that?
https://docs.ansible.com/ansible/intro_configuration.html#stdout-callback
--
Kai Stian Olstad
--
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/a4222957-2e75-3d6b-7d1d-a3e789f24e13%40olstad.com.
For more options, visit https://groups.google.com/d/optout.