Ansible vars like "Current Playbook" "Current Task"

Does Ansible keep track of a “current playbook name” or “current task name” as a variable?

I want to build a custom email role which playbooks/tasks can invoke.

This email function would print out the playbook name like.

I supposed I could create this as a new variable and set it, but I was hoping it was already there under the hood somewhere.

Any ideas?

Thanks,
John

Ansible defines role_path which might be what you are looking for.
http://docs.ansible.com/ansible/playbooks_variables.html#magic-variables-and-how-to-access-information-about-other-hosts