-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopier.yml
84 lines (71 loc) · 1.75 KB
/
copier.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
project_name:
type: str
help: What is your project name? It should be lowercase and not contain spaces or special characters
cloud:
type: str
help: Which cloud provider do you use?
choices:
- hetzner
- digitalOcean
dev_server:
help: Provide server config for the dev server (depends on cloud provider, see input.yml)
type: yaml
multiline: true
prod_server:
help: Provide server config for the prod server (depends on cloud provider, see input.yml)
type: yaml
multiline: true
dev_dns:
help: Provide dns config (see input.yml)
type: yaml
multiline: true
prod_dns:
help: Provide dns config (see input.yml)
type: yaml
multiline: true
github:
help: Provide github config (see input.yml)
type: yaml
multiline: true
default: ---
secret: true
dev_smtp:
help: Provide smtp config (see input.yml)
type: yaml
multiline: true
default: ---
secret: true
prod_smtp:
help: Provide smtp config (see input.yml)
type: yaml
multiline: true
default: ---
secret: true
dev_directus:
help: Provide directus config (see input.yml)
type: yaml
multiline: true
default: ---
secret: true
prod_directus:
help: Provide directus config (see input.yml)
type: yaml
multiline: true
default: ---
secret: true
ssh_key:
help: Provide ssh key to access the servers
type: str
default: ""
secret: true
vault_password:
help: Provide vault password
type: str
default: ""
secret: true
_tasks:
- echo "{{ vault_password }}" > ansible/.vault_pw
- rm README.md
- echo "# {{ project_name }}" > README.md
- ansible-vault encrypt ansible/group_vars/vault.yml
- rm input.yml.tmpl