Parameter "role_names" in playbooks

I was looking at the code for playbooks, and noticed that it can take a parameter called “role_names”. This parameter isn’t documented, or at least, I can’t find it. What is its purpose, and how is it meant to be used?

Regards,
Anand

Hi Anand,

It is a special internal variable, which can be used to show the roles present in the current play.