On 25/12/2021 08:28, 'Jitender J' via Ansible Project wrote:
Hello,Done some changes in callback module
OK, you can get the stdout value by saving it with register task parameter. Regards Racke
On Sat, 25 Dec, 2021, 12:27 PM Stefan Hornburg (Racke), <ra...@linuxia.de <mailto:ra...@linuxia.de>> wrote: On 24/12/2021 15:13, 'Jitender J' via Ansible Project wrote: > 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 > -- > 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project%2bunsubscr...@googlegroups.com> <mailto:ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project%2bunsubscr...@googlegroups.com>>. > To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1eef7008-c30c-4ab4-af26-8b04fa8d9a7fn%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/1eef7008-c30c-4ab4-af26-8b04fa8d9a7fn%40googlegroups.com> <https://groups.google.com/d/msgid/ansible-project/1eef7008-c30c-4ab4-af26-8b04fa8d9a7fn%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/ansible-project/1eef7008-c30c-4ab4-af26-8b04fa8d9a7fn%40googlegroups.com?utm_medium=email&utm_source=footer>>.-- Ecommerce and Linux consulting + Perl and web application programming.Debian and Sympa administration.-- 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project%2bunsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/971d2390-ea47-f6f9-473a-d34f837a2b4b%40linuxia.de <https://groups.google.com/d/msgid/ansible-project/971d2390-ea47-f6f9-473a-d34f837a2b4b%40linuxia.de>. -- 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMO4JZv0wvnHVQ5nVYknYjQzU%3DLru4MCFQDapyi-9kBPE%3D-Npw%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CAMO4JZv0wvnHVQ5nVYknYjQzU%3DLru4MCFQDapyi-9kBPE%3D-Npw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
-- Ecommerce and Linux consulting + Perl and web application programming. Debian and Sympa administration. -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8423f504-ab66-a895-4e0e-78ff0d9a7cc6%40linuxia.de.
OpenPGP_signature
Description: OpenPGP digital signature