nodes/home.downloadhelper: add node, add storage on home.nas
This commit is contained in:
parent
fb42f9e667
commit
c49d9ffc56
2 changed files with 43 additions and 0 deletions
37
nodes/home/downloadhelper.py
Normal file
37
nodes/home/downloadhelper.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
nodes['home.downloadhelper'] = {
|
||||
'hostname': '172.19.138.27',
|
||||
'bundles': {
|
||||
'iptables',
|
||||
'nfs-client',
|
||||
},
|
||||
'groups': {
|
||||
'debian-buster',
|
||||
},
|
||||
'metadata': {
|
||||
'interfaces': {
|
||||
'enp1s0.8': {
|
||||
'dhcp': True,
|
||||
},
|
||||
'enp1s0.42': {
|
||||
'ips': {
|
||||
'172.19.138.27/24',
|
||||
},
|
||||
},
|
||||
},
|
||||
'backups': {
|
||||
'exclude_from_backups': True,
|
||||
},
|
||||
'nfs-client': {
|
||||
'mounts': {
|
||||
'storage': {
|
||||
'mountpoint': '/mnt/nas',
|
||||
'serverpath': '172.19.138.20:/storage/download',
|
||||
'mount_options': {
|
||||
'retry=0',
|
||||
'rw',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -53,6 +53,9 @@ nodes['home.nas'] = {
|
|||
'/storage/nas': {
|
||||
'172.19.138.0/24(ro,all_squash,anonuid=65534,anongid=65534,no_subtree_check)',
|
||||
},
|
||||
'/storage/download': {
|
||||
'172.19.138.27/32(rw,all_squash,anonuid=65534,anongid=1012,no_subtree_check)',
|
||||
},
|
||||
},
|
||||
},
|
||||
'smartd': {
|
||||
|
@ -128,6 +131,9 @@ nodes['home.nas'] = {
|
|||
'storage/f2k1de': {
|
||||
'mountpoint': '/storage/f2k1de',
|
||||
},
|
||||
'storage/download': {
|
||||
'mountpoint': '/storage/download',
|
||||
},
|
||||
'storage/nas': {
|
||||
'mountpoint': '/storage/nas',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue