63 lines
1.6 KiB
Python
63 lines
1.6 KiB
Python
nodes['home.downloadhelper'] = {
|
|
'hostname': 'fd90:2017:0:1138::27',
|
|
'bundles': {
|
|
'nfs-client',
|
|
'transmission',
|
|
},
|
|
'groups': {
|
|
'debian-bullseye',
|
|
},
|
|
'metadata': {
|
|
'interfaces': {
|
|
'enp1s0.3001': {
|
|
'dhcp': True,
|
|
'send_hostname': False,
|
|
},
|
|
'enp1s0.1138': {
|
|
'ips': {
|
|
'172.19.138.27/24',
|
|
'fd90:2017:0:1138::27/64',
|
|
},
|
|
'routes': {
|
|
# VPN
|
|
'172.19.128.0/20': {
|
|
'via': '172.19.138.1',
|
|
},
|
|
'fd90:2017::/32': {
|
|
'via': 'fd90:2017:0:1138::1',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'backups': {
|
|
'exclude_from_backups': True,
|
|
},
|
|
'lldp': {
|
|
'interfaces': {
|
|
'enp1s0.1138',
|
|
},
|
|
},
|
|
'nfs-client': {
|
|
'mounts': {
|
|
'storage': {
|
|
'mountpoint': '/mnt/nas',
|
|
'serverpath': '172.19.138.20:/storage/download',
|
|
'mount_options': {
|
|
'retry=0',
|
|
'rw',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'transmission': {
|
|
'config': {
|
|
'download-dir': '/mnt/nas',
|
|
'download-queue-size': 10,
|
|
},
|
|
'restrict-to': {
|
|
'172.19.136.0/22',
|
|
'fd90:2017::/32',
|
|
},
|
|
},
|
|
},
|
|
}
|