2021-01-07 21:15:14 +00:00
|
|
|
nodes['home.downloadhelper'] = {
|
|
|
|
'hostname': '172.19.138.27',
|
|
|
|
'bundles': {
|
|
|
|
'iptables',
|
2021-01-16 14:43:42 +00:00
|
|
|
'netdata',
|
2021-01-07 21:15:14 +00:00
|
|
|
'nfs-client',
|
2021-01-08 15:10:44 +00:00
|
|
|
'transmission',
|
2021-01-07 21:15:14 +00:00
|
|
|
},
|
|
|
|
'groups': {
|
|
|
|
'debian-buster',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'enp1s0.8': {
|
|
|
|
'dhcp': True,
|
|
|
|
},
|
|
|
|
'enp1s0.42': {
|
|
|
|
'ips': {
|
|
|
|
'172.19.138.27/24',
|
|
|
|
},
|
2021-01-08 15:09:59 +00:00
|
|
|
'routes': [
|
|
|
|
{
|
|
|
|
# VPN
|
|
|
|
'to': '172.19.136.0/22',
|
|
|
|
'via': '172.19.138.1',
|
|
|
|
},
|
|
|
|
],
|
2021-01-07 21:15:14 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'backups': {
|
|
|
|
'exclude_from_backups': True,
|
|
|
|
},
|
2021-01-16 14:43:42 +00:00
|
|
|
'netdata': {
|
|
|
|
'restrict-to-interfaces': {
|
|
|
|
'enp1s0.42',
|
|
|
|
},
|
|
|
|
},
|
2021-01-07 21:15:14 +00:00
|
|
|
'nfs-client': {
|
|
|
|
'mounts': {
|
|
|
|
'storage': {
|
|
|
|
'mountpoint': '/mnt/nas',
|
|
|
|
'serverpath': '172.19.138.20:/storage/download',
|
|
|
|
'mount_options': {
|
|
|
|
'retry=0',
|
|
|
|
'rw',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-01-08 15:10:44 +00:00
|
|
|
'transmission': {
|
|
|
|
'config': {
|
|
|
|
'download-dir': '/mnt/nas',
|
|
|
|
'download-queue-size': 10,
|
|
|
|
},
|
|
|
|
'webinterface-on-interfaces': {
|
|
|
|
'enp1s0.42',
|
|
|
|
},
|
|
|
|
},
|
2021-01-07 21:15:14 +00:00
|
|
|
},
|
|
|
|
}
|