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.

Reply via email to