On Tuesday, June 5, 2018 at 11:55:04 PM UTC+2, WhileLoop wrote:
>
> Currently inventory.aws_ec2.yaml looks like this:
>
>
> plugin: aws_ec2
> regions:
> - us-west-2
> keyed_groups:
> - prefix: tag
> key: tags
>
>
> This creates one group for every tag combination. How can make it look at
> a single tag only? For example if only wanted it to create one group for
> each value of the "Environment" tag.
>
keyed_groups:
- key: tags.Environment
separator: ''
prefix: env # This is optional
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/632548ee-48fb-446c-b36b-95a2ec7d0401%40googlegroups.com.