Hi Team,
Is there anyway/module to print each failed task error summary in play recap
Hi Team,
Is there anyway/module to print each failed task error summary in play recap
Hi,
Could you please elaborate how it will look like?
Sure …
stdout: ##### Maintainance Check #####
CRITICAL
154 4145 65541 871 hm
PLAY RECAP ***************************************************************************************************************************************************************************************************************************
Playbook Executed: smsm_audit1.yml ***************************************************************************************************************************************************************************************************
LIST OF FAILED NODES AND TASKS WHICH FAILED ON THEM **********************************************************************************************************************************************************************************
TASK=Executing Cluster Node Maintenace Check On CA:
FAILED NODES=chi1-ca-1b
Need error marked in red here so that I don’t need to scroll up to find error on 100 nodes everything should be there in play recap
SERVICE FAILED ON TOTAL INSTANCES : 1
Hi Jitendar,
You need to write your callback plugin based upon the default callback plugin.
You can take inspiration from -
Ok … thanks