Like if you want to install, configure and start fail2ban, this can be done in 2 ways:
First one is to do it making sub-tasks:
enter image description here
The other way is do make sub-roles: