possibly, but the variables you have available in that scope is small. On Wed, Jun 10, 2015 at 10:36 PM, Javeria Khan <[email protected]> wrote: > > 'Hosts' has to have a group name infront of it right? To be able to apply > the condition, could I conditionally include the relevant hosts to that > group? > > > > > On Wednesday, 10 June 2015 18:21:15 UTC-7, Brian Coca wrote: >> >> The only conditional applicable to a play, is the hosts: selection. >> >> Iincludes, roles and everything else won't get conditions applied, but >> they can pass them on to the only object that is subject to >> conditions, the tasks. >> >> >> this changes a bit in v2 but that is still in development. >> >> -- >> Brian Coca > > -- > 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/89d55e1e-3436-4da4-801c-dc601859b65a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.
-- Brian Coca -- 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/CAJ5XC8n1yEgiSPDJ96tJ-dtWUB6kf%2BkwhPw7CXHVFc2HTG1BMw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
