2020-11-12 18:40:41 +00:00
|
|
|
nodes['home.nas'] = {
|
|
|
|
'hostname': '172.19.138.90',
|
|
|
|
'bundles': {
|
2020-11-13 11:58:23 +00:00
|
|
|
'backup-server',
|
2020-11-12 18:59:02 +00:00
|
|
|
'nfs-server',
|
2020-11-12 18:40:41 +00:00
|
|
|
'zfs',
|
|
|
|
},
|
|
|
|
'groups': set(),
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'eno1': {
|
|
|
|
'ips': {
|
|
|
|
'172.19.138.90/24',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'br0': {
|
|
|
|
'ips': {
|
|
|
|
'172.19.138.20/24',
|
|
|
|
},
|
|
|
|
'gateway4': '172.19.138.1',
|
|
|
|
},
|
|
|
|
},
|
2020-11-13 11:58:23 +00:00
|
|
|
'backups': {
|
|
|
|
# This *is* the backup server
|
|
|
|
'exclude_from_backups': True,
|
|
|
|
},
|
|
|
|
'backup-server': {
|
|
|
|
'zfs-base': 'storage/backups',
|
|
|
|
},
|
2020-11-12 18:59:02 +00:00
|
|
|
'nfs-server': {
|
|
|
|
'shares': {
|
|
|
|
'/storage/nas': {
|
|
|
|
'172.19.138.0/24(ro,all_squash,anonuid=65534,anongid=65534)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-12 18:40:41 +00:00
|
|
|
'systemd-networkd': {
|
|
|
|
'bonds': {
|
|
|
|
'bond0': {
|
|
|
|
'match': {
|
|
|
|
'enp8*',
|
|
|
|
'enp9*',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'bridges': {
|
|
|
|
'br0': {
|
|
|
|
'match': {
|
|
|
|
'bond0',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-13 11:58:23 +00:00
|
|
|
'zfs': {
|
|
|
|
'pools': {
|
|
|
|
# Configured manually. Don't touch!
|
|
|
|
'storage': {
|
|
|
|
'raidz2': {
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8GE15GR',
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJ406R',
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJBTLR',
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJGN6R',
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJU4NR',
|
|
|
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8J8ZKRR',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'datasets': {
|
|
|
|
'storage/backups': {},
|
|
|
|
'storage/f2k1de': {
|
|
|
|
'mountpoint': '/storage/f2k1de',
|
|
|
|
},
|
|
|
|
'storage/nas': {
|
|
|
|
'mountpoint': '/storage/nas',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-12 18:40:41 +00:00
|
|
|
'vm': {
|
|
|
|
'cpu': 8,
|
|
|
|
'ram': 16,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'os': 'debian',
|
|
|
|
'os_version': (11,),
|
|
|
|
}
|