summaryrefslogtreecommitdiff
path: root/roles/chaos-at-home/fileserver/defaults/main.yml
blob: 1429459d26374a8c954df340c06d1311a73cb350 (plain) (blame)
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
---
# fileserver_zfs_default_pool: tank
# fileserver_zfs_filesystems:
#   - name: foo
#     pool: bar
#     properties:
#       quota: 100G
#     owner: root
#     group: users
#     mode: "02775"
#     export_as: bar
#     export_to:
#     - dest: 192.0.2.3/32
#       opts:
#       - ro
#       - async
#   - name: private
#     properties:
#       quota: 100G
#     export: no
#   - name: public:
#     properties:
#       quota: 100G

fileserver_zfs_common_properties:
  snapdir: visible
  compression: lz4
  xattr: sa

# fileserver_nfs_root: /srv/exports
# fileserver_nfs_default_options:
#   - ro
#   - sync
#   - root_squash
#   - crossmnt
# fileserver_nfs_default_destinations:
#   - dest: 192.0.2.0/24
#   - dest: 192.0.2.128/29
#     opts:
#     - rw
#     - sync
#     - root_squash

# fileserver_group_ids:
#   foo: 10000

# fileserver_users:
#   hugo:
#     id: 1000
#     groups:
#     - users
#   seppi:
#     id: 1001