mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 20:15:49 +01:00
445108f87a
Most include do not expect salt to be something else than the usual salt variable giving access to all the salt modules. Instead we use cfg_salt. And for consistency we rename the master/minion variables to cfg_master/cfg_minion too.
17 lines
454 B
Plaintext
17 lines
454 B
Plaintext
# This file managed by Salt, do not edit by hand!!
|
|
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
|
|
ec2_ubuntu_public:
|
|
minion:
|
|
master: {{ cloud['master'] }}
|
|
grains:
|
|
test: True
|
|
ssh_interface: public_ips
|
|
id: {{ cloud['aws_key'] }}
|
|
key: '{{ cloud['aws_secret'] }}'
|
|
private_key: /etc/salt/cloud.providers.d/key/key.pem
|
|
keyname: keyname
|
|
location: eu-west-1
|
|
availability_zone: eu-west-1a
|
|
ssh_username: ubuntu
|
|
provider: ec2
|