I want to split my tasks/main.yml into different files in my Ansible role. With defaults/ and vars/, Ansible supports the creation of a main directory instead of the main.yml, from which all *.yml files are included. Unfortunately, I can't find anything comparable for tasks. I don't want to enter every yml file in the main.yml again.
So I search for a way to "auto-include" all plays in the task-directory.
Does anyone has an idea or example?