infrastructure/ansible/host_vars/pve/main.yml

73 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2021-12-21 19:36:52 +00:00
private_ip: "{{ pve_hosts.pve.ip }}"
zpools_to_scrub:
- tank
- rpool
- speed
2021-12-21 19:36:52 +00:00
# 5GB, or so
zfs_arc_size: 5000000000
2021-12-21 19:36:52 +00:00
sanoid_datasets:
tank:
use_template: production
recursive: true
process_children_only: true
speed:
use_template: production
recursive: true
process_children_only: true
2021-12-21 19:36:52 +00:00
rpool:
use_template: production
recursive: true
2022-05-09 22:57:30 +01:00
sanoid_templates:
production:
2024-03-19 21:31:27 +00:00
frequently: 4
2022-05-09 22:57:30 +01:00
hourly: 48
daily: 28
monthly: 3
yearly: 0
autosnap: true
autoprune: true
replaceable:
frequently: 0
hourly: 24
daily: 7
monthly: 0
yearly: 0
autosnap: true
autoprune: true
2021-12-21 19:36:52 +00:00
# Snapraid
snapraid_install: false
snapraid_runner: false
snapraid_data_disks:
- path: /mnt/bulk
content: true
snapraid_parity_disks:
- path: /mnt/parity
content: true
snapraid_content_files:
- /var/snapraid.content
- /mnt/tank/files/snapraid.content
2021-12-21 19:36:52 +00:00
snapraid_config_excludes:
- "*.unrecoverable"
- /lost+found/
- "*.!sync"
- /tmp/
snapraid_scrub_schedule:
hour: 2
2021-12-21 19:36:52 +00:00
weekday: 4
snapraid_scrub_healthcheck_io_uuid: "{{ vault_snapraid_scrub_healthcheck_io_uuid }}"
snapraid_sync_healthcheck_io_uuid: "{{ vault_snapraid_sync_healthcheck_io_uuid }}"