ansible-live-output-demo
ansible-live-output-demo copied to clipboard
Maximum recursion depth exceeded with recursion
Hi,
I was looking for a way to have a real time log print and I found your project which works well. I use it with shell script that take 15-20 minutes to finish with 3s of watch poll. After more of 240 recursion, python crash with this error: Maximum recursion depth exceeded with recursion.
It's already an issue for ansible that doesnt fix it. I tried to change your code to have a sequential task with a loop instead of a recursion but ansible has still some limitation (no break loop, no until to block).
If someone has the same problem, I set up the poll time to 10 and the timeout to 1800 and it's ok. It's less real time but better than nothing.
Thanks for your job.