Log registered data on task failure

4 views
Skip to first unread message

Satya Narayana

unread,
Mar 8, 2022, 10:02:06 AM3/8/22
to Ansible Project
Hi team,

Some of the tasks in my playbook register some date and I am using that data in the next tasks. Task which is consuming the previously registered data fails for some reason I want to log all the registered data only on task failure is there a way that I can log only on task failure ??

Thanks in Advance
Thanks,
 Satya

Reply all
Reply to author
Forward
0 new messages