bundlewrap/nodes/htz/ex42-1048908.py

124 lines
3.5 KiB
Python
Raw Normal View History

2020-02-23 10:13:45 +00:00
nodes['htz.ex42-1048908'] = {
2020-08-18 13:27:55 +00:00
'bundles': {
'check-mail-received',
'lm-sensors',
'postgresql',
'smartd',
'vmhost',
2020-08-18 13:27:55 +00:00
},
'groups': {
2020-11-21 09:55:09 +00:00
'debian-buster',
'webserver',
},
2020-02-29 14:43:18 +00:00
'metadata': {
'interfaces': {
'enp0s31f6': {
2020-11-09 14:16:29 +00:00
'ips': {
'94.130.52.224/26',
'2a01:4f8:10b:2a5f::02/64',
'2a01:4f8:10b:2a5f::1337/64',
},
'gateway4': '94.130.52.193',
'gateway6': 'fe80::1',
},
},
2021-07-10 12:22:19 +00:00
'check-mail-received': {
't-online': {
'email': 'franzi.kunsmann@t-online.de',
'imap_host': 'secureimap.t-online.de',
'imap_pass': bwpass.attr('t-online.de/franzi.kunsmann@t-online.de', 'imap'),
},
},
'icinga_options': {
'pretty_name': 'kunsmann.eu',
},
'locale': {
'installed': {
# legacy
'en_DK.UTF-8',
},
},
'nftables': {
'rules': {
'input': {
'libvirt': [
'tcp dport 53 iif virbr0 accept',
'udp dport 53 iif virbr0 accept',
'udp dport { 67, 68 } iif virbr0 accept',
],
},
'forward': {
'libvirt': [
'iif virbr0 accept',
'oif virbr0 accept',
],
},
'nat_postrouting': {
'oif enp0s31f6 masquerade',
},
},
},
2020-06-01 09:31:13 +00:00
'nginx': {
'security.txt': {
'contact': 'mailto:security@kunsmann.eu',
'Encryption': 'https://franzi.business/gpg_hi-kunsmann.eu.asc',
},
2020-06-01 09:31:13 +00:00
'vhosts': {
2020-07-19 09:26:12 +00:00
'dav.kunsmann.eu': {
'locations': {
'/': {
2021-07-23 10:58:53 +00:00
'redirect': 'https://radicale.franzi.business$request_uri',
},
2020-07-19 09:26:12 +00:00
},
},
'git.kunsmann.eu': {
'locations': {
'/': {
'redirect': 'https://git.franzi.business$request_uri',
},
},
},
'paste.kunsmann.eu': {
'locations': {
'/': {
'redirect': 'https://paste.franzi.business$request_uri',
},
},
},
'vliedel.random.franzi.business': {
'webroot_config': {
'mode': '0775',
'owner': 'vliedel',
'group': 'vliedel',
},
},
2020-06-01 09:31:13 +00:00
},
'worker_processes': 4,
2020-06-01 09:31:13 +00:00
},
'smartd': {
'disks': {
'/dev/nvme0',
'/dev/nvme1',
},
},
'systemd': {
'journal': {
# should last about 9 days
'maxuse': '2G',
},
},
2020-02-29 14:43:18 +00:00
'users': {
'kunsi': {
'enable_linger': True,
'groups': [
'libvirt',
],
},
2020-02-29 14:43:18 +00:00
},
'vm': {
'cpu': 8,
'ram': 64,
},
2020-02-29 14:43:18 +00:00
},
2020-02-23 10:13:45 +00:00
}