57 lines
1.5 KiB
Python
57 lines
1.5 KiB
Python
nodes['htz-cloud.luther'] = {
|
|
'bundles': {
|
|
'postgresql',
|
|
'zfs',
|
|
},
|
|
'groups': {
|
|
'webserver',
|
|
},
|
|
'metadata': {
|
|
'interfaces': {
|
|
'eth0': {
|
|
'ipv4': {
|
|
'195.201.136.20',
|
|
},
|
|
'ipv6': {
|
|
'2a01:4f8:c2c:fc3b::1',
|
|
},
|
|
'gateway4': '172.31.1.1',
|
|
'gateway6': 'fe80::1',
|
|
},
|
|
},
|
|
'nginx': {
|
|
'vhosts': {
|
|
'luther-ps': {
|
|
'domain': 'luther-ps.kunsmann.eu',
|
|
'php': True,
|
|
},
|
|
},
|
|
},
|
|
'postgresql': {
|
|
'users': {
|
|
'luther-ps': {
|
|
# can't use password_for() here, application is unmanaged
|
|
'password': vault.decrypt('encrypt$gAAAAABfnSxJtRTeWRTO_ubSqpBbH8L-khPamKtSiUYbuMIoyJnoF_oSfUlMpTpQsmdDh61F3JQEH0xfYOkzkiCGZONRHyYdqkTjWV4Ku1Avdb0SL74VG6NihUJOpZlhOKnuniopCwuW'),
|
|
},
|
|
},
|
|
'databases': {
|
|
'luther-ps': {
|
|
'owner': 'luther-ps',
|
|
},
|
|
},
|
|
},
|
|
'zfs': {
|
|
'pools': {
|
|
'tank': {
|
|
'device': '/dev/sdb',
|
|
},
|
|
},
|
|
},
|
|
'vm': {
|
|
'cpu': 1,
|
|
'ram': 2,
|
|
},
|
|
},
|
|
'os': 'debian',
|
|
'os_version': (10,),
|
|
}
|