diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-04 16:12:07 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-04 16:12:07 -0500 |
commit | fbf0302567cfd019a762d9c37f8c10b65b269768 (patch) | |
tree | d7e691cf5139e58eae4a6002c7ba450f00d177e4 /inventory/aws/ec2.ini | |
parent | ebc226eb9580eb0173843c82afec811acca60896 (diff) | |
parent | 753173b40de1647854d49dd47bb269061531bfd2 (diff) | |
download | openshift-fbf0302567cfd019a762d9c37f8c10b65b269768.tar.gz openshift-fbf0302567cfd019a762d9c37f8c10b65b269768.tar.bz2 openshift-fbf0302567cfd019a762d9c37f8c10b65b269768.tar.xz openshift-fbf0302567cfd019a762d9c37f8c10b65b269768.zip |
Merge pull request #95 from a13m/destination_format
Add flexible destination format string to ec2.py
Diffstat (limited to 'inventory/aws/ec2.ini')
-rw-r--r-- | inventory/aws/ec2.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inventory/aws/ec2.ini b/inventory/aws/ec2.ini index 8a0c3ad45..eaab0a410 100644 --- a/inventory/aws/ec2.ini +++ b/inventory/aws/ec2.ini @@ -53,3 +53,10 @@ cache_path = ~/.ansible/tmp # seconds, a new API call will be made, and the cache file will be updated. # To disable the cache, set this value to 0 cache_max_age = 300 + +# These two settings allow flexible ansible host naming based on a format +# string and a comma-separated list of ec2 tags. The tags used must be +# present for all instances, or the code will fail. This overrides both +# destination_variable and vpc_destination_variable. +# destination_format = {0}.{1}.rhcloud.com +# destination_format_tags = Name,environment |