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