From 217cf13903aacb3ed8dee6b28b59be7ecb837f3b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 22 Aug 2020 18:40:16 +0200 Subject: add fileserver role --- inventory/host_vars/ch-prometheus.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'inventory') diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml index 425411df..f06ecb85 100644 --- a/inventory/host_vars/ch-prometheus.yml +++ b/inventory/host_vars/ch-prometheus.yml @@ -86,3 +86,35 @@ zfs_sanoid_modules: use_template: production recursive: yes process_children_only: yes + + +fileserver_zfs_default_pool: storage +fileserver_zfs_filesystems: + archiv: + properties: + quota: 1T + buffer: + properties: + quota: 50G + home: + properties: + quota: 500G + export: no + movies: + properties: + quota: 1T + music: + properties: + quota: 500G + series: + properties: + quota: 4T + +fileserver_nfs_root: /srv/_nfs4_root_ +fileserver_nfs_default_options: + - rw + - sync + - root_squash + - no_subtree_check +fileserver_nfs_default_destinations: + - dest: "{{ network_zones.lan.prefix }}" -- cgit v1.2.3