Hi,

In Ansible 1.9.4, I was able to use role as a variable to get the current 
role name. In Ansible 2, the variable does not seem to be defined. Any 
replacement?

role_path is defined so I could use {{ role_path | basename }}, but that's 
less convenient.

-- 
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/8e888433-2cc8-4865-be9b-17f698dddd62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to