80 lines
2 KiB
Python
80 lines
2 KiB
Python
{
|
|
'dummy': True,
|
|
'hostname': '192.168.179.20',
|
|
'groups': [
|
|
'debian-11',
|
|
'monitored',
|
|
'raspberry-pi',
|
|
],
|
|
'bundles': [
|
|
'backup-freshness-check',
|
|
'dm-crypt',
|
|
'smartctl',
|
|
'wireguard',
|
|
'zfs',
|
|
],
|
|
'metadata': {
|
|
'id': '23b898bd-203b-42d5-8150-cdb459915d77',
|
|
'network': {
|
|
'internal': {
|
|
'interface': 'eth0',
|
|
'ipv4': '192.168.179.20/24',
|
|
'gateway4': '192.168.179.1',
|
|
},
|
|
},
|
|
'backup-freshness-check': {
|
|
'server': 'home.backups',
|
|
'prefix': 'auto-mirror_'
|
|
},
|
|
'users': {
|
|
'root': {
|
|
'authorized_users': {
|
|
'root@home.backups',
|
|
},
|
|
},
|
|
},
|
|
'systemd': {
|
|
'services': {
|
|
'wpa_supplicant.service': {
|
|
'enabled': False,
|
|
'running': False,
|
|
},
|
|
},
|
|
},
|
|
'wireguard': {
|
|
'my_ip': '172.30.0.4/32',
|
|
's2s': {
|
|
'htz.mails': {
|
|
'allowed_ips': [
|
|
'10.0.0.0/24',
|
|
'10.0.2.0/24',
|
|
'10.0.9.0/24',
|
|
'10.0.10.0/24',
|
|
'10.0.10.0/24',
|
|
],
|
|
},
|
|
},
|
|
},
|
|
'dm-crypt': {
|
|
'tank': {
|
|
'device': '/dev/disk/by-id/ata-TOSHIBA_MG06ACA10TE_61C0A1B1FKQE',
|
|
},
|
|
},
|
|
'zfs': {
|
|
'import-cache': False,
|
|
'pools': {
|
|
'tank': {
|
|
'devices': [
|
|
'/dev/mapper/tank',
|
|
],
|
|
},
|
|
},
|
|
'auto_snapshots': {
|
|
'hourly': 1,
|
|
'daily': 1,
|
|
'weekly': 4,
|
|
'monthly': 24,
|
|
},
|
|
},
|
|
},
|
|
}
|