Ansible: how to display the name of the currently running included_tasks playbook file?
If you want to "add base_packages.yml to the title of the task" you'll have to add it to the names of the tasks. For example

shell&gt; cat base_packages.yml
---
- name: "base_packages: .... "


sed might help to automate it.