diff options
author | Troy Dawson <tdawson@redhat.com> | 2015-05-21 14:11:25 -0500 |
---|---|---|
committer | Troy Dawson <tdawson@redhat.com> | 2015-05-21 14:11:25 -0500 |
commit | 124ca40c134a40b2e6823ab3c4bfe329580d7eaa (patch) | |
tree | 6cbc6c67bcefea2ed964c4fbda0aa47c3a2b067c /inventory/multi_ec2.yaml.example | |
parent | 803b9191f1a3a2bffe94528a8a5cd82adf6f3a42 (diff) | |
parent | c3bd6a3489dd0473334543024efa2c3c96ba8be2 (diff) | |
download | openshift-124ca40c134a40b2e6823ab3c4bfe329580d7eaa.tar.gz openshift-124ca40c134a40b2e6823ab3c4bfe329580d7eaa.tar.bz2 openshift-124ca40c134a40b2e6823ab3c4bfe329580d7eaa.tar.xz openshift-124ca40c134a40b2e6823ab3c4bfe329580d7eaa.zip |
Merge branch 'int' into stg
Diffstat (limited to 'inventory/multi_ec2.yaml.example')
-rw-r--r-- | inventory/multi_ec2.yaml.example | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/inventory/multi_ec2.yaml.example b/inventory/multi_ec2.yaml.example index 91e7c7970..99f157b11 100644 --- a/inventory/multi_ec2.yaml.example +++ b/inventory/multi_ec2.yaml.example @@ -1,15 +1,32 @@ # multi ec2 inventory configs +# +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 + all_group: ec2 + hostvars: + cloud: aws + account: aws1 - - name: aws2 +- name: aws2 provider: aws/hosts/ec2.py env_vars: AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + EC2_INI_PATH: /etc/ansible/ec2.ini cache_max_age: 60 |