-
Notifications
You must be signed in to change notification settings - Fork 12
/
play-init-auto-provision.yml
163 lines (130 loc) · 4.3 KB
/
play-init-auto-provision.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
---
- hosts: localhost
gather_facts: false
vars_prompt:
- name: "auto_provision_server"
prompt: "Auto-provision server name"
default: "provision.equalit.ie"
private: no
- name: "auto_provision_node_location"
prompt: "Auto-provision node location"
default: "montreal"
private: no
- name: "auto_provision_node_hostname"
prompt: "Auto-provision node hostname"
default: "node1.example.co"
private: no
- name: "auto_provision_node_ip_address"
prompt: "Auto-provision node IP address"
default: "127.0.0.1"
private: no
- name: "auto_provision_db_host"
prompt: "Auto-provision database host"
default: "localhost"
private: no
- name: "auto_provision_base_directory"
prompt: "Auto-provision base directory"
default: "/var/www/eqpress-www/provision"
private: no
- name: "auto_provision_tmp_directory"
prompt: "Auto-provision temp directory"
default: "/var/tmp"
private: no
- name: "auto_provision_web_server_user"
prompt: "Auto-provision web server user account"
default: "www-data"
private: no
- name: "auto_provision_web_server_group"
prompt: "Auto-provision web server group account"
default: "www-data"
private: no
- name: "auto_provision_log_file"
prompt: "Auto-provision log file name (relative to base directory)"
default: "ep-provision.log"
private: no
- name: "auto_provision_db_charset"
prompt: "Auto-provision default database character set"
default: "utf8"
private: no
- name: "auto_provision_db_collate"
prompt: "Auto-provision default database collation"
default: "utf8_unicode_ci"
private: no
- name: "auto_provision_dev_rand"
prompt: "Auto-provison random number device"
default: "/dev/urandom"
private: no
- name: "auto_provision_gpg_id"
prompt: "keyID of GPG account for encrypting logs (lookup your keyID at https://pgp.mit.edu/)"
default: "2DD3C271"
private: no
- name: "auto_provision_ldap_server"
prompt: "LDAP server hostname to authenticate autoprovisioning requests (deprecated)"
default: "localhost"
private: no
- name: "auto_provision_ldap_port"
prompt: "LDAP server port (deprecated)"
default: "389"
private: no
- name: "auto_provision_ldap_basedn"
prompt: "Base DN where user accounts sit in (deprecated)"
default: "ou=People,dc=equalit,dc=ie"
private: no
- name: "auto_provision_ldap_authattr"
prompt: "LDAP attribute containing users' login (deprecated)"
default: "uid"
private: no
- name: "auto_provision_local_auth_user"
prompt: "Username for auto provision (Replacing LDAP)"
default: "eqpresser"
private: no
- name: "auto_provision_local_auth_pass"
prompt: "Bcrypt password (php password_hash()) for auto provision"
default: ""
private: no
- name: "auto_provision_ansible_version"
prompt: "Version of Ansible to checkout"
default: "v2.7.8"
private: no
- name: "nginx_worker_processes"
prompt: "Nginx worker processes"
default: "auto"
private: no
- name: "phpfpm_max_children"
prompt: "PHP-FPM max children"
default: "48"
private: no
- name: "phpfpm_start_servers"
prompt: "PHP-FPM start servers"
default: "16"
private: no
- name: "phpfpm_min_spare"
prompt: "PHP-FPM min spare"
default: "16"
private: no
- name: "phpfpm_max_spare"
prompt: "PHP-FPM max spare"
default: "16"
private: no
- name: "phpfpm_max_requests"
prompt: "PHP-FPM max requests"
default: "32"
private: no
- name: "php_opcache_memory_size"
prompt: "PHP-FPM opcache memory size"
default: "128"
private: no
- name: "mysql_innodb_buffer_pool_size"
prompt: "MySQL InnoDB buffer pool size"
default: "256M"
private: no
- name: "mysql_innodb_log_file_size"
prompt: "MySQL InnoDB log file size"
default: "32M"
private: no
- name: "pwpush_domain"
prompt: "Password Pusher domain name (should have some used in url already set)"
default: "passwords.deflect.ca"
private: no
roles:
- init-auto-provision