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:
parent
ed83417ef4
commit
9992e20b18
2 changed files with 16 additions and 11 deletions
|
@ -30,9 +30,9 @@
|
||||||
- name: 'scans'
|
- name: 'scans'
|
||||||
path: '/shares/scans'
|
path: '/shares/scans'
|
||||||
users_ro: 'annemariedroessler michaelgrote'
|
users_ro: 'annemariedroessler michaelgrote'
|
||||||
users_rw: 'brother_ads2700w ocrmypdf'
|
users_rw: 'brother_ads2700w'
|
||||||
- name: 'replikation'
|
- name: 'papa_backup'
|
||||||
path: '/shares/replikation'
|
path: '/shares_papa_backup'
|
||||||
users_ro: ''
|
users_ro: ''
|
||||||
users_rw: 'win10 michaelgrote'
|
users_rw: 'win10 michaelgrote'
|
||||||
- name: 'amd'
|
- name: 'amd'
|
||||||
|
|
|
@ -40,14 +40,6 @@
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
atime: on
|
atime: on
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: hdd_data_raidz/pve_backup
|
|
||||||
state: present
|
|
||||||
compression: lz4
|
|
||||||
sync: disabled
|
|
||||||
xattr: sa
|
|
||||||
dnodesize: auto
|
|
||||||
atime: on
|
|
||||||
snapdir: hidden
|
|
||||||
### mgrote.apcupsd
|
### mgrote.apcupsd
|
||||||
apcupsd_nis_master: true
|
apcupsd_nis_master: true
|
||||||
apcupsd_nis_master_hostname: pve2.grote.lan
|
apcupsd_nis_master_hostname: pve2.grote.lan
|
||||||
|
@ -81,6 +73,10 @@
|
||||||
template: 'hourly'
|
template: 'hourly'
|
||||||
recursive: 'yes'
|
recursive: 'yes'
|
||||||
snapshots: true
|
snapshots: true
|
||||||
|
- path: 'hdd_data_raidz/papa_backup'
|
||||||
|
template: 'papa'
|
||||||
|
recursive: 'yes'
|
||||||
|
snapshots: true
|
||||||
- path: 'hdd_data_raidz/pve_backup'
|
- path: 'hdd_data_raidz/pve_backup'
|
||||||
snapshots: false # deaktiviert sanoid für das dataset
|
snapshots: false # deaktiviert sanoid für das dataset
|
||||||
sanoid_templates:
|
sanoid_templates:
|
||||||
|
@ -102,6 +98,15 @@
|
||||||
frequent_period: '0'
|
frequent_period: '0'
|
||||||
autosnap: 'yes'
|
autosnap: 'yes'
|
||||||
autoprune: '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
|
### mgrote.cv4pve-autosnap
|
||||||
cv4pve_api_user: root@pam!cv4pve-autosnap
|
cv4pve_api_user: root@pam!cv4pve-autosnap
|
||||||
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
|
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
|
||||||
|
|
Loading…
Reference in a new issue