Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 satır
524B

  1. # This file managed by Salt, do not edit by hand!!
  2. {% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
  3. {% if 'aws_key' in cloud %}
  4. ec2_ubuntu_public:
  5. minion:
  6. master: {{ cloud.get('master', 'salt') }}
  7. grains:
  8. test: True
  9. ssh_interface: public_ips
  10. id: {{ cloud.get('aws_key', 'DEFAULT') }}
  11. key: '{{ cloud.get('aws_secret', 'DEFAULT') }}'
  12. private_key: /etc/salt/pki/cloud/ec2.pem
  13. keyname: keyname
  14. location: eu-west-1
  15. availability_zone: eu-west-1a
  16. ssh_username: ubuntu
  17. provider: ec2
  18. {% endif %}