bundlewrap/nodes/htz-cloud/luther.py

58 lines
1.5 KiB
Python
Raw Normal View History

2020-10-31 09:19:03 +00:00
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',
2020-10-31 09:19:03 +00:00
'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',
},
},
},
2020-10-31 09:19:03 +00:00
'zfs': {
'pools': {
'tank': {
'device': '/dev/sdb',
},
},
},
'vm': {
'cpu': 1,
'ram': 2,
},
},
'os': 'debian',
'os_version': (10,),
}