diff options
-rw-r--r-- | chaos-at-home/ch-apps.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/ch-apps.yml | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/chaos-at-home/ch-apps.yml b/chaos-at-home/ch-apps.yml index 8577b8b7..d8dc7a70 100644 --- a/chaos-at-home/ch-apps.yml +++ b/chaos-at-home/ch-apps.yml @@ -7,3 +7,5 @@ - role: core/sshd/base - role: core/zsh - role: core/ntp + - role: storage/zfs/pools + - role: storage/zfs/sanoid diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml index c5f20645..a251f4db 100644 --- a/inventory/host_vars/ch-apps.yml +++ b/inventory/host_vars/ch-apps.yml @@ -35,3 +35,24 @@ network: gateway: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ipaddr('address') }}" interfaces: - *_network_primary_ + + +apt_repo_components: +- main +- contrib ## for zfs + + +zfs_arc_size: + min: 512MB + max: 2GB + +zfs_pools: + storage: + mountpoint: /srv/storage + create_vdevs: /dev/sdb + +zfs_sanoid_modules: + storage: + use_template: production + recursive: yes + process_children_only: yes |