How can I get the current role name in an ansible task yaml file?
I would like to do something like this
--- # role/some-role-name/tasks/main.yml - name
The simplest way is to just use the following
{{role_path|basename}}