Franziska Kunsmann
087bc4c669
All checks were successful
bundlewrap/pipeline/head This commit looks good
59 lines
1.4 KiB
Python
59 lines
1.4 KiB
Python
nodes['home.downloadhelper'] = {
|
|
'hostname': '172.19.138.27',
|
|
'bundles': {
|
|
'netdata',
|
|
'nfs-client',
|
|
'transmission',
|
|
},
|
|
'groups': {
|
|
'debian-buster',
|
|
},
|
|
'metadata': {
|
|
'interfaces': {
|
|
'enp1s0.8': {
|
|
'dhcp': True,
|
|
},
|
|
'enp1s0.42': {
|
|
'ips': {
|
|
'172.19.138.27/24',
|
|
},
|
|
'routes': [
|
|
{
|
|
# VPN
|
|
'to': '172.19.136.0/22',
|
|
'via': '172.19.138.1',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
'backups': {
|
|
'exclude_from_backups': True,
|
|
},
|
|
'netdata': {
|
|
'restrict-to': {
|
|
'172.19.136.0/22',
|
|
},
|
|
},
|
|
'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',
|
|
},
|
|
},
|
|
},
|
|
}
|