Hi there,
I’m using a custom callback plugin, which does a task.serialize() for every new task in a playback, in order to get some task details I can’t get otherwise.
Up until Ansible 2.3 that caused a bit of a slowdown, but acceptable. Upgrading to 2.4 made my playbooks run really slow though, and I’ve tracked it down to the task.serialize() function. If I comment that out in my callback, playbooks run approximately twice as fast. Ansible 2.3 is still faster, but I could live with that.
Anybody got an idea why task.serialize() is so much slower in the new version? Or how to speed it up in some way or other?
Thanks!
Marcus