bundlewrap/nodes/home.backups.py
2022-07-07 20:17:38 +02:00

61 lines
1.6 KiB
Python

{
'hostname': '10.0.0.5',
'groups': [
'autologin',
'backup-server',
'debian-11',
'home',
'monitored',
],
'bundles': [
'grub',
'smartctl',
'wol-sleeper',
'zfs',
'zfs-mirror',
],
'metadata': {
'id': '9cf52515-63a1-4659-a8ec-6c3c881727e5',
'network': {
'internal': {
'interface': 'enp0s31f6',
'ipv4': '10.0.0.5/24',
'gateway4': '10.0.0.1',
'mac': '4c:cc:6a:d5:96:f8',
},
},
'backup-server': {
'hostname': 'backups.sublimity.de',
},
'smartctl': {
'/dev/disk/by-id/ata-HGST_HDN726040ALE614_K3GV6TPL': {
'apm': 1,
},
'/dev/disk/by-id/ata-HGST_HDN726040ALE614_K4KAJXEB': {
'apm': 1,
},
'/dev/disk/by-id/ata-TOSHIBA_HDWQ140_19VZK0EMFAYG': {
'apm': 1,
},
},
'wol-sleeper': {
'network': 'internal',
'waker': 'home.server',
},
'zfs-mirror': {
'server': 'wb.offsite-backups',
},
'zfs': {
'pools': {
'tank': {
'type': 'raidz',
'devices': [
'/dev/disk/by-id/ata-HGST_HDN726040ALE614_K3GV6TPL',
'/dev/disk/by-id/ata-HGST_HDN726040ALE614_K4KAJXEB',
'/dev/disk/by-id/ata-TOSHIBA_HDWQ140_19VZK0EMFAYG',
],
},
},
},
},
}