Built-in variable that stores playbook name?

I am creating log files where I use the playbook name in the name of the log file. I am just hard coding the name into the playbooks, but I was wondering if there was a built-in variable that stores “test” if the playbook called was test.yml. Sort of like how “basename $0” or “${0##*/}” works in bash.