You could invert the key:value paradigm for groups and make them:
"web:group" and "app:group" which would yield tag_web_group and
tag_app_group. It isn't pretty but it would work.


On Fri, Jan 10, 2014 at 10:10 AM, Yves Dorfsman <[email protected]> wrote:

>
> When using dynamic inventory, my understanding is that you group your
> hosts with EC2 tags. How do you add a host to two groups then, since EC2
> can only take one value for a given key?
>
> Example:
> text inventory:
>
>     [web]
>     sever1
>     server2
>
>     [app]
>     server1
>     server3
>
> In EC2, I use a tag called 'group', but I can only have one value for that
> group, either web or app...
>
> Anybody run into this issue?
>
>
> Thanks.
>
>
> --
> Yves.
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Peter Gehres
Site Reliability Engineer | AppDynamics, Inc.
www.appdynamics.com | AS62897

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to