2014-07-20 16:59:38 +02:00
|
|
|
# This file managed by Salt, do not edit by hand!!
|
2014-12-24 16:12:40 +01:00
|
|
|
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
|
2015-04-17 16:48:47 +02:00
|
|
|
{% if 'aws_key' in cloud %}
|
2014-07-20 16:59:38 +02:00
|
|
|
ec2_ubuntu_public:
|
|
|
|
minion:
|
2015-04-04 00:47:08 +02:00
|
|
|
master: {{ cloud.get('master', 'salt') }}
|
2014-07-20 16:59:38 +02:00
|
|
|
grains:
|
|
|
|
test: True
|
|
|
|
ssh_interface: public_ips
|
2015-04-04 00:47:08 +02:00
|
|
|
id: {{ cloud.get('aws_key', 'DEFAULT') }}
|
|
|
|
key: '{{ cloud.get('aws_secret', 'DEFAULT') }}'
|
2015-04-04 01:30:26 +02:00
|
|
|
private_key: /etc/salt/pki/cloud/ec2.pem
|
2014-07-20 16:59:38 +02:00
|
|
|
keyname: keyname
|
|
|
|
location: eu-west-1
|
|
|
|
availability_zone: eu-west-1a
|
|
|
|
ssh_username: ubuntu
|
2014-12-24 16:12:40 +01:00
|
|
|
provider: ec2
|
2015-04-17 16:48:47 +02:00
|
|
|
{% endif %}
|