-
Notifications
You must be signed in to change notification settings - Fork 3
/
exoscale.yml
59 lines (48 loc) · 2.3 KB
/
exoscale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
- name: Provision the Exoscale Instance
# =======================================
hosts: localhost
connection: local
gather_facts: yes
vars_files:
- roles/l2tp-ipsec/defaults/main.yml
- roles/openconnect/defaults/main.yml
- roles/openvpn/defaults/main.yml
- roles/shadowsocks/defaults/main.yml
- roles/ssh/defaults/main.yml
- roles/brasscrow-gateway/defaults/main.yml
- roles/stunnel/defaults/main.yml
- roles/tor-bridge/defaults/main.yml
vars:
regions:
"1": "CH-GV-2"
"2": "CH-DK-2"
brasscrow_security_group_name: "brasscrow"
vars_prompt:
- name: "exo_region"
prompt: >
What region should the server be located in?
1. Geneva
2. Zurich
Please choose the number of your region. Press enter for default (#2) region.
default: "2"
private: no
- name: "exo_server_name"
prompt: "\nWhat should the server be named? Press enter for default (brasscrow).\n"
default: "brasscrow"
private: no
- name: "EXO_API_KEY_entry"
prompt: "\n\nAPI credentials can be obtained from the Exoscale portal.\nhttps://portal.exoscale.ch/account/api/\n\nIf this field is left blank, the environment variable EXOSCALE_API_KEY\nwill be used or the configuration file .cloudstack.ini.\n\nWhat is your Exoscale API Key?\n"
private: no
- name: "EXO_API_SECRET_entry"
prompt: "\n\nAPI credentials can be obtained from the Exoscale portal.\nhttps://portal.exoscale.ch/account/api/\n\nIf this field is left blank, the environment variable EXOSCALE_API_SECRET\nwill be used or the configuration file .cloudstack.ini.\n\nWhat is your Exoscale API Secret?\n"
private: no
- name: "exo_ssh_name"
prompt: "\n\nThe following information can be found on your Exoscale portal.\nhttps://portal.exoscale.ch/ssh/\n\nWhat is the name of the Exoscale SSH key that you would like to use?\n * If you have never uploaded an SSH key to Exoscale then the default\n value will work!\n * This key should match your .ssh/id_rsa.pub file.\n"
default: "brasscrow"
private: no
- name: "confirmation"
prompt: "\nbrasscrow will now set up your server. This process usually takes around ten minutes. Press Enter to begin setup...\n"
roles:
- genesis-exoscale
- include: brasscrow.yml