you cannot execute a role conditionally, you CAN pass a condition to every task in a role.role and include directives are basically 'preprocessing macros' they are used to include other files into main play.
--To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADn%2BHsz6YvdjD1QvrKAP-Pg_yE%2BOmeFKEgAeMGJXVVcy6_oZ-Q%40mail.gmail.com.
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgz2jVy-S%3DDK7NHWty7OV%2BZf2bgr9%2Bgx1Am3qTMrHA504g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3a3e4978-ecea-45fc-bc33-21bbec7d9007%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/23a3507f-3258-4339-a7fd-1c98b684e78e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a4ebdcd1-05dc-48da-8355-6558f25b8200%40googlegroups.com.