summaryrefslogtreecommitdiffstats
path: root/inventory/multi_ec2.yaml.example
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-05-12 14:30:13 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-05-12 14:30:13 -0400
commite7950be055cc672111cff4dc8446e33b5e2a7cf0 (patch)
treedddf40ee770537c0c60a5f6af03e3a149b3e31d1 /inventory/multi_ec2.yaml.example
parent60a12e50838b56f5a24278762b56d606c2f24572 (diff)
parent7c905c0cf962ec9b7f5bd140a506bd614831f0e8 (diff)
downloadopenshift-e7950be055cc672111cff4dc8446e33b5e2a7cf0.tar.gz
openshift-e7950be055cc672111cff4dc8446e33b5e2a7cf0.tar.bz2
openshift-e7950be055cc672111cff4dc8446e33b5e2a7cf0.tar.xz
openshift-e7950be055cc672111cff4dc8446e33b5e2a7cf0.zip
Merge pull request #221 from kwoodson/ec2_ini
Added option to use alternate ec2.ini.
Diffstat (limited to 'inventory/multi_ec2.yaml.example')
-rw-r--r--inventory/multi_ec2.yaml.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/inventory/multi_ec2.yaml.example b/inventory/multi_ec2.yaml.example
index d8361a49f..c41c134ab 100644
--- a/inventory/multi_ec2.yaml.example
+++ b/inventory/multi_ec2.yaml.example
@@ -5,6 +5,15 @@ cache_location: ~/.ansible/tmp/multi_ec2_inventory.cache
accounts:
- name: aws1
provider: aws/hosts/ec2.py
+ provider_config:
+ ec2:
+ regions: all
+ regions_exclude: us-gov-west-1,cn-north-1
+ destination_variable: public_dns_name
+ route53: False
+ cache_path: ~/.ansible/tmp
+ cache_max_age: 300
+ vpc_destination_variable: ip_address
env_vars:
AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
@@ -14,5 +23,6 @@ accounts:
env_vars:
AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ EC2_INI_PATH: /etc/ansible/ec2.ini
cache_max_age: 60