mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
ec2 inventory: Add the ability to group instances by Route 53 domain
names.
This commit is contained in:
@@ -34,6 +34,14 @@ destination_variable = public_dns_name
|
||||
# be run from with EC2.
|
||||
vpc_destination_variable = ip_address
|
||||
|
||||
# To tag instances on EC2 with the resource records that point to them from
|
||||
# Route53, uncomment and set 'route53' to True.
|
||||
#
|
||||
# Optionally, you can specify the list of zones to exclude looking up in
|
||||
# 'route53_excluded_zones' as a comma-seperated list.
|
||||
route53 = False
|
||||
route53_excluded_zones =
|
||||
|
||||
# API calls to EC2 are slow. For this reason, we cache the results of an API
|
||||
# call. Set this to the path you want cache files to be written to. Two files
|
||||
# will be written to this directory:
|
||||
@@ -44,6 +52,3 @@ cache_path = /tmp
|
||||
# The number of seconds a cache file is considered valid. After this many
|
||||
# seconds, a new API call will be made, and the cache file will be updated.
|
||||
cache_max_age = 300
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user