Hello!
I would like to match hosts in AWS with something like (passing env as an
extravar):
hosts: tag_Function_www:&ec2_tag_Environment=env

I'm currently using this which works:
hosts: "tag_Function_www:&tag_Environment_{{ env|default('test') }}"

but wondering if there's a better way.  Any thoughts would be appreciated


Thanks!
Gu

-- 
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/CABnTgtVD3zp49cDZCi7Wq9z%2Bh4JmfFuTd_PbgZNsSS4k9TgvCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to