37 lines
1,012 B
Python
37 lines
1,012 B
Python
nodes['htz-hel.backup-kunsi'] = {
|
|
'hostname': '2a01:4f9:6b:2d99::1337',
|
|
'bundles': {
|
|
'backup-server',
|
|
'dm-crypt',
|
|
'zfs',
|
|
},
|
|
'groups': {
|
|
'debian-bullseye',
|
|
},
|
|
'metadata': {
|
|
'apt': {
|
|
'unattended-upgrades': {
|
|
# requires manual apply after reboot to unlock dm-crypt
|
|
# devices
|
|
'reboot_enabled': False,
|
|
},
|
|
},
|
|
'interfaces': {
|
|
'ens18': {
|
|
'ips': {
|
|
'2a01:4f9:6b:2d99::1337/64',
|
|
},
|
|
'gateway6': '2a01:4f9:6b:2d99::2',
|
|
},
|
|
},
|
|
'backups': {
|
|
# This is the backup target.
|
|
'exclude_from_backups': True,
|
|
},
|
|
'backup-server': {
|
|
'encrypted-devices': {
|
|
'/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1-part1': bwpass.password('bw/backup-kunsi/encryption-passphrase'),
|
|
},
|
|
},
|
|
},
|
|
}
|