# customized message from anisble output

**URL:** <https://forum.ansible.com/t/customized-message-from-anisble-output/28720>\
**Category:** Ansible Project\
**Created:** [October 4, 2018, 11:42am UTC](https://forum.ansible.com/t/customized-message-from-anisble-output/28720 "2018-10-04T11:42:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onenessboy](https://avatars.discourse-cdn.com/v4/letter/o/90ced4/32.png) [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Post date:** [October 4, 2018, 11:42am UTC](https://forum.ansible.com/t/customized-message-from-anisble-output/28720/1 "2018-10-04T11:42:54Z")

</div>

Hi

Is that really possible that I can have full customized messae instead of ansible json output. ?

Can we have code like blow where instead of ansible output , only I need output as “cleaned”

However below not working

`

#!/bin/bash  
ansible $1 -m script -a “/opt/scripts/ops/dsclean.sh” stdout\_callback = " cleaned"

`

can any one suggest.
