pve: set minimum snapshot retention time to 14 days
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed

This commit is contained in:
Michael Grote 2024-08-05 15:23:02 +02:00
parent 46e9d55cf6
commit b737875dd0
2 changed files with 18 additions and 18 deletions

View file

@ -89,7 +89,7 @@ zfs_extra_zfs_pools:
### mgrote_zfs_sanoid
sanoid_datasets:
- path: 'hdd_data/videos'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/music'
@ -101,11 +101,11 @@ sanoid_datasets:
recursive: 'yes'
snapshots: true
- path: 'hdd_data/tmp'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/pve_backup'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/archiv'
@ -119,7 +119,7 @@ sanoid_datasets:
- path: hdd_data/scans
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
- path: hdd_data/backup
recursive: 'no' # noqa yaml[truthy]
snapshots: true
@ -127,7 +127,7 @@ sanoid_datasets:
- path: hdd_data/restic
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
- path: hdd_data/programme
recursive: 'no' # noqa yaml[truthy]
snapshots: true
@ -139,19 +139,19 @@ sanoid_datasets:
- path: hdd_data/vm
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
- path: rpool
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
- path: rpool/ROOT
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
- path: rpool/ROOT/pve-1
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
### mgrote_proxmox_bind_mounts
pve_bind_mounts:

View file

@ -105,7 +105,7 @@ sanoid_syncoid_ssh_pubkey: "{{ lookup('viczem.keepass.keepass', 'sanoid_syncoid_
sanoid_datasets:
### hdd_data
- path: 'hdd_data/videos'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/music'
@ -117,11 +117,11 @@ sanoid_datasets:
recursive: 'yes'
snapshots: true
- path: 'hdd_data/tmp'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/pve_backup'
template: '3tage'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data/archiv'
@ -135,7 +135,7 @@ sanoid_datasets:
- path: hdd_data/scans
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
- path: hdd_data/backup
recursive: 'no' # noqa yaml[truthy]
snapshots: true
@ -143,7 +143,7 @@ sanoid_datasets:
- path: hdd_data/restic
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
- path: hdd_data/programme
recursive: 'no' # noqa yaml[truthy]
snapshots: true
@ -155,20 +155,20 @@ sanoid_datasets:
- path: hdd_data/vm
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '3tage'
template: '14tage'
### rpool
- path: rpool
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
- path: rpool/ROOT
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
- path: rpool/ROOT/pve-1
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: 'pve3tage'
template: 'pve14tage'
### mgrote_proxmox_bind_mounts
pve_bind_mounts: