RFC: post_tasks in roles

Hi

I would like to open a discussion about extending the role functionality with a directory similar to /task/main.yml e.g. /post_tasks/main.yml for post_task execution.

I one of my roles I wanted to implement health checks and I wanted them to be to be executed after the handlers. I search for a way to include those checks to the role and didn’t find any.

Thanks for your feedback.

Regards
René

​Hi René​

​You can do this now, if you trigger handler execution early with the special task

​- meta: flush_handler

nice! thx!