zfs: Datasets Papa + Sanoid (#49)

share papa umbenannt

sanoid profil papa typo

ocrmypdf entfernt

pfad share repliaktion

sanoid template papa

sanoid profil papa

pve_dataset aus host_vars entfernt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#49
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-03-24 18:35:20 +01:00
parent ed83417ef4
commit 9992e20b18
2 changed files with 16 additions and 11 deletions

View File

@ -30,9 +30,9 @@
- name: 'scans'
path: '/shares/scans'
users_ro: 'annemariedroessler michaelgrote'
users_rw: 'brother_ads2700w ocrmypdf'
- name: 'replikation'
path: '/shares/replikation'
users_rw: 'brother_ads2700w'
- name: 'papa_backup'
path: '/shares_papa_backup'
users_ro: ''
users_rw: 'win10 michaelgrote'
- name: 'amd'

View File

@ -40,14 +40,6 @@
dnodesize: auto
atime: on
snapdir: hidden
- dataset: hdd_data_raidz/pve_backup
state: present
compression: lz4
sync: disabled
xattr: sa
dnodesize: auto
atime: on
snapdir: hidden
### mgrote.apcupsd
apcupsd_nis_master: true
apcupsd_nis_master_hostname: pve2.grote.lan
@ -81,6 +73,10 @@
template: 'hourly'
recursive: 'yes'
snapshots: true
- path: 'hdd_data_raidz/papa_backup'
template: 'papa'
recursive: 'yes'
snapshots: true
- path: 'hdd_data_raidz/pve_backup'
snapshots: false # deaktiviert sanoid für das dataset
sanoid_templates:
@ -102,6 +98,15 @@
frequent_period: '0'
autosnap: 'yes'
autoprune: 'yes'
- name: 'papa'
keep_hourly: '0'
keep_daily: '14'
keep_monthly: '3'
keep_yearly: '0'
frequently: '0'
frequent_period: '0'
autosnap: 'yes'
autoprune: 'yes'
### mgrote.cv4pve-autosnap
cv4pve_api_user: root@pam!cv4pve-autosnap
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"