Print stout of failed task in recap

Hi Team,

Hope everyone is doing good,

I am wondering if there is a way to print stdout of a failed task in playbook recap

PLAY RECAP ************************************************************************************************************************************************************

Playbook Executed: zdx_test.yml ***************************************************************************************************************************************

LIST OF FAILED NODES AND TASKS WHICH FAILED ON THEM *******************************************************************************************************************

TASK=Check total CPU cores:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don’t want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

TASK=Checking Connetion on Port 443 On ZIA SMUI From Provided UI:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don’t want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

TASK=Check total memory:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don’t want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

ALL NODES ARE REACHABLE ***********************************************************************************************************************************************

Hi Team,

Hope everyone is doing good,

I am wondering if there is a way to print stdout of a failed task in playbook recap

PLAY RECAP ************************************************************************************************************************************************************

Playbook Executed: zdx_test.yml ***************************************************************************************************************************************

LIST OF FAILED NODES AND TASKS WHICH FAILED ON THEM *******************************************************************************************************************

TASK=Check total CPU cores:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don't want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

TASK=Checking Connetion on Port 443 On ZIA SMUI From Provided UI:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don't want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

TASK=Check total memory:
FAILED NODES=zdx-was1-vui-1b-smui1
what was the stdout value, don't want to scroll up
SERVICE FAILED ON TOTAL INSTANCES : 1

ALL NODES ARE REACHABLE ***********************************************************************************************************************************************

Hello,

how do you generate the "LIST OF FAILED NODES AND TASKS WHICH FAILED ON THEM" ?

Regards
        Racke

Hello,

Done some changes in callback module

Hello,

Done some changes in callback module

OK, you can get the stdout value by saving it with register task parameter.

Regards
          Racke