|
@@ -1,64 +1,62 @@
|
1
|
|
-# required variables
|
2
|
|
-# ------------------
|
3
|
|
-# domain: (required)
|
4
|
|
-# main_user_name: (required)
|
|
1
|
+---
|
|
2
|
+################################################################################
|
|
3
|
+# Set your variables here.
|
|
4
|
+################################################################################
|
|
5
|
+
|
|
6
|
+# common
|
|
7
|
+domain: (required)
|
|
8
|
+main_user_name: (required)
|
5
|
9
|
|
6
|
10
|
# admin email
|
7
|
|
-# -----------
|
8
|
11
|
# fail2ban reports will be sent to this address
|
9
|
|
-# admin_email: "{{ main_user_name }}@{{ domain }}"
|
|
12
|
+admin_email: "{{ main_user_name }}@{{ domain }}"
|
10
|
13
|
|
11
|
14
|
# mail
|
12
|
|
-# ----
|
13
|
|
-# mail_virtual_domains:
|
14
|
|
-# - name: "{{ domain }}"
|
15
|
|
-# pk_id: 1
|
16
|
|
-# mail_virtual_users:
|
17
|
|
-# - account: "{{ main_user_name }}"
|
18
|
|
-# domain: "{{ domain }}"
|
19
|
|
-# password_hash: TODO
|
20
|
|
-# domain_pk_id: 1
|
21
|
|
-# mail_virtual_aliases:
|
22
|
|
-# - source: "root@{{ domain }}"
|
23
|
|
-# destination: "{{ admin_email }}"
|
24
|
|
-# domain_pk_id: 1
|
25
|
|
-# - source: "postmaster@{{ domain }}"
|
26
|
|
-# destination: "{{ admin_email }}"
|
27
|
|
-# domain_pk_id: 1
|
28
|
|
-# - source: "webmaster@{{ domain }}"
|
29
|
|
-# destination: "{{ admin_email }}"
|
30
|
|
-# domain_pk_id: 1
|
|
15
|
+mail_virtual_domains:
|
|
16
|
+ - name: "{{ domain }}"
|
|
17
|
+ pk_id: 1
|
|
18
|
+mail_virtual_users:
|
|
19
|
+ - account: "{{ main_user_name }}"
|
|
20
|
+ domain: "{{ domain }}"
|
|
21
|
+ password_hash: TODO
|
|
22
|
+ domain_pk_id: 1
|
|
23
|
+mail_virtual_aliases:
|
|
24
|
+ - source: "root@{{ domain }}"
|
|
25
|
+ destination: "{{ admin_email }}"
|
|
26
|
+ domain_pk_id: 1
|
|
27
|
+ - source: "postmaster@{{ domain }}"
|
|
28
|
+ destination: "{{ admin_email }}"
|
|
29
|
+ domain_pk_id: 1
|
|
30
|
+ - source: "webmaster@{{ domain }}"
|
|
31
|
+ destination: "{{ admin_email }}"
|
|
32
|
+ domain_pk_id: 1
|
31
|
33
|
|
32
|
34
|
# timezone
|
33
|
|
-# --------
|
34
|
35
|
# common_timezone will be used in the common and mailserver roles
|
35
|
|
-# common_timezone: 'Etc/UTC'
|
|
36
|
+common_timezone: 'Etc/UTC'
|
36
|
37
|
|
37
|
38
|
# znc
|
38
|
|
-# ---
|
39
|
|
-# irc_nick: (required)
|
40
|
|
-# irc_ident: (required)
|
41
|
|
-# irc_realname: (required)
|
42
|
|
-# irc_quitmsg: (required)
|
43
|
|
-# irc_password_hash: (required)
|
44
|
|
-# irc_password_salt: (required)
|
|
39
|
+irc_nick: (required)
|
|
40
|
+irc_ident: (required)
|
|
41
|
+irc_realname: (required)
|
|
42
|
+irc_quitmsg: (required)
|
|
43
|
+irc_password_hash: (required)
|
|
44
|
+irc_password_salt: (required)
|
45
|
45
|
|
46
|
46
|
# xmpp
|
47
|
|
-# ----
|
48
|
|
-# prosody_admin: "{{ admin_email }}"
|
49
|
|
-# prosody_virtual_domain: "{{ domain }}"
|
50
|
|
-# prosody_accounts:
|
51
|
|
-# - name: "{{ main_user_name }}"
|
52
|
|
-# password: TODO
|
|
47
|
+prosody_admin: "{{ admin_email }}"
|
|
48
|
+prosody_virtual_domain: "{{ domain }}"
|
|
49
|
+prosody_accounts:
|
|
50
|
+ - name: "{{ main_user_name }}"
|
|
51
|
+ password: TODO
|
53
|
52
|
|
54
|
53
|
# openvpn
|
55
|
|
-# -------
|
56
|
|
-#openvpn_key_country: "US"
|
57
|
|
-#openvpn_key_province: "California"
|
58
|
|
-#openvpn_key_city: "Beverly Hills"
|
59
|
|
-#openvpn_key_org: "ACME CORPORATION"
|
60
|
|
-#openvpn_key_ou: "Anvil Department"
|
61
|
|
-#openvpn_clients:
|
62
|
|
-# - laptop
|
63
|
|
-# - phone
|
64
|
|
-# - tablet
|
|
54
|
+openvpn_key_country: "US"
|
|
55
|
+openvpn_key_province: "California"
|
|
56
|
+openvpn_key_city: "Beverly Hills"
|
|
57
|
+openvpn_key_org: "ACME CORPORATION"
|
|
58
|
+openvpn_key_ou: "Anvil Department"
|
|
59
|
+openvpn_clients:
|
|
60
|
+ - laptop
|
|
61
|
+ - phone
|
|
62
|
+ - tablet
|