ansible-target-practice/aws_ec2.yml
Vincent Van der Kussen c19d75b530 aws inventory
2020-10-20 07:01:49 +02:00

21 lines
331 B
YAML

plugin: aws_ec2
regions:
- eu-west-1
filters:
tag:env:
- dev
- prod
hostnames:
- ip-address
- network-interface.addresses.private-ip-address
- private-dns-name
keyed_groups:
- key: tags.env
separator: ""
#prefix: MyGroupPrefix
- prefix: tag
key: tags
fact_caching_timeout: 10
caching_timeout: 10