-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
45 lines (38 loc) · 1.42 KB
/
main.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
enc_file: /.do-not-delete # path, where all of the data will be stored
enc_file_size: 400M # examples: 256M, 20G, 500G
enc_mount_name: storage # mount name, should be a-z, lower case, without special letters
enc_mount_path: /mnt/storage
enc_file_filesystem: ext4 # any filesystem supported by mkfs (and supported by the operating system)
enc_filesystem_create_if_not_exists: true
hide_sensitive_output: true
# passwords, change them
enc_passphrase: "test123"
enc_hidden_volume_passphrase: "hidden123"
enc_hidden_volume_size: "390M"
# tcplay settings
hashing_algorithm: whirlpool
encryption_algorithm: AES-256-XTS
# Mounting webhook
# ================
# Allows to expose a HTTP endpoint, so you could
# invoke that endpoint to put the passphrase to mount the volume
# eg. after server crash. So the password will not be stored on the server
# and how you will secure it is your concern.
#
deployer_token: "" # set a token to enable
slack_or_mattermost_webhook_url: "" # put a slack/mattermost webhook URL to enable notifications
systemd_service_name: "volume-deployer"
deployer_listen: "0.0.0.0"
deployer_listen_port: "8015"
#
# Hooks
# =====
# Allows to execute actions before/after mounting and unmounting
#
hook_pre_mount: >
echo 'Mounting'
hook_post_mount: ""
hook_pre_unmount: >
echo 'Unmounting'
hook_post_unmount: >
echo 'Unmounted'