summaryrefslogtreecommitdiffstats
path: root/inventory/multi_ec2.yaml.example
blob: d8361a49f8de6c3f5a87c670fb90ba05f156324f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# multi ec2 inventory configs
#
cache_location: ~/.ansible/tmp/multi_ec2_inventory.cache

accounts:
  - name: aws1
    provider: aws/hosts/ec2.py
    env_vars:
      AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
      AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  - name: aws2
    provider: aws/hosts/ec2.py
    env_vars:
      AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
      AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

cache_max_age: 60