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


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d156b5ae-4c2d-4a69-a59c-53fa6e9ef1f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to