customized message from anisble output

6 views
Skip to first unread message

onenessboy

unread,
Oct 4, 2018, 7:42:54 AM10/4/18
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages