Yeah you can't just make syntax up and expect it to mean something. Sounds like you should just use a new play in the PB and simply use host groups to select.
-- Michael On Dec 5, 2013, at 3:35 PM, Brandon Hilkert <[email protected]> wrote: I tried something like this in a task, but it didn't work tags: "{{ 'production' && 'web' }}" I have a task that uploads some web assets to S3. This is needed for a "web" tag, but only for "production". In staging, it's unnecessary, so I have tags like "web,production", and "web,staging" and I'd like for them to behave differently. I was trying to avoid making specific tags like "web-production" and "web-staging" Thanks! -- 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]. For more options, visit https://groups.google.com/groups/opt_out. -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
