2020-02-23 10:13:45 +00:00
|
|
|
nodes['htz.ex42-1048908'] = {
|
2020-08-18 13:27:55 +00:00
|
|
|
'bundles': {
|
2021-07-17 08:18:19 +00:00
|
|
|
# to be migrated to rx300
|
2020-11-07 21:32:47 +00:00
|
|
|
'dovecot',
|
|
|
|
'postfixadmin',
|
2021-02-07 20:09:39 +00:00
|
|
|
'redis',
|
2020-11-07 21:32:47 +00:00
|
|
|
'rspamd',
|
2021-07-17 08:18:19 +00:00
|
|
|
|
|
|
|
# no migration needed
|
|
|
|
'check-mail-received',
|
|
|
|
'lm-sensors',
|
|
|
|
'nodejs',
|
|
|
|
'php',
|
|
|
|
'postgresql',
|
2020-12-13 13:59:44 +00:00
|
|
|
'unbound',
|
2020-11-29 11:07:27 +00:00
|
|
|
'smartd',
|
2020-02-29 12:31:14 +00:00
|
|
|
'vmhost',
|
2020-08-18 13:27:55 +00:00
|
|
|
},
|
2020-06-01 09:04:51 +00:00
|
|
|
'groups': {
|
2020-11-21 09:55:09 +00:00
|
|
|
'debian-buster',
|
2020-06-01 09:04:51 +00:00
|
|
|
'webserver',
|
|
|
|
},
|
2020-02-29 14:43:18 +00:00
|
|
|
'metadata': {
|
2020-09-20 16:35:35 +00:00
|
|
|
'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',
|
2020-09-20 16:35:35 +00:00
|
|
|
},
|
|
|
|
'gateway4': '94.130.52.193',
|
|
|
|
'gateway6': 'fe80::1',
|
|
|
|
},
|
|
|
|
},
|
2020-02-29 14:43:18 +00:00
|
|
|
'apt': {
|
2020-05-29 18:12:06 +00:00
|
|
|
'packages': {
|
2021-02-07 20:09:39 +00:00
|
|
|
# TODO
|
2020-11-06 14:47:01 +00:00
|
|
|
'php-imagick': {},
|
2021-02-07 20:09:39 +00:00
|
|
|
|
2020-05-29 18:12:06 +00:00
|
|
|
# No need to create a bundle just to install packages,
|
2020-11-22 07:27:37 +00:00
|
|
|
# configs will be managed by users nevertheless.
|
2021-02-20 17:06:20 +00:00
|
|
|
'mosh': {},
|
2020-05-29 18:15:04 +00:00
|
|
|
'weechat': {},
|
|
|
|
'weechat-core': {},
|
|
|
|
'weechat-curses': {},
|
|
|
|
'weechat-perl': {},
|
|
|
|
'weechat-plugins': {},
|
|
|
|
'weechat-python': {},
|
|
|
|
'weechat-ruby': {},
|
2020-05-29 18:12:06 +00:00
|
|
|
},
|
2020-07-30 13:51:10 +00:00
|
|
|
'repos': {
|
2020-08-29 19:09:42 +00:00
|
|
|
'backports': {
|
2020-08-20 08:59:45 +00:00
|
|
|
'install_gpg_key': False, # default debian signing key
|
2021-04-30 10:49:59 +00:00
|
|
|
'items': {
|
2020-08-30 10:06:19 +00:00
|
|
|
'deb http://deb.debian.org/debian {os_release}-backports main',
|
2021-04-30 10:49:59 +00:00
|
|
|
},
|
2020-07-30 13:51:10 +00:00
|
|
|
},
|
2021-02-07 19:47:57 +00:00
|
|
|
},
|
|
|
|
},
|
2020-11-13 11:59:06 +00:00
|
|
|
'backups': {
|
|
|
|
'paths': {
|
|
|
|
'/home/kunsi/.weechat',
|
|
|
|
'/opt/matrix/matrix-dimension',
|
|
|
|
},
|
|
|
|
},
|
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'),
|
|
|
|
},
|
2020-11-09 17:22:41 +00:00
|
|
|
},
|
2021-05-02 08:52:03 +00:00
|
|
|
'icinga_options': {
|
|
|
|
'pretty_name': 'kunsmann.eu',
|
|
|
|
},
|
2021-02-18 13:51:33 +00:00
|
|
|
'locale': {
|
|
|
|
'installed': {
|
|
|
|
# legacy
|
|
|
|
'en_DK.UTF-8',
|
|
|
|
},
|
2021-01-24 06:49:49 +00:00
|
|
|
},
|
2021-06-03 11:59:15 +00:00
|
|
|
'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': {
|
2021-06-03 16:56:28 +00:00
|
|
|
'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': {
|
2021-07-04 17:27:12 +00:00
|
|
|
'locations': {
|
|
|
|
'/': {
|
2021-07-23 10:58:53 +00:00
|
|
|
'redirect': 'https://radicale.franzi.business$request_uri',
|
2021-07-04 17:27:12 +00:00
|
|
|
},
|
2020-07-19 09:26:12 +00:00
|
|
|
},
|
|
|
|
},
|
2021-07-09 15:26:54 +00:00
|
|
|
'git.kunsmann.eu': {
|
|
|
|
'locations': {
|
|
|
|
'/': {
|
2021-07-09 16:21:01 +00:00
|
|
|
'redirect': 'https://git.franzi.business$request_uri',
|
2021-07-09 15:26:54 +00:00
|
|
|
},
|
2021-07-04 17:27:12 +00:00
|
|
|
},
|
2020-06-01 11:33:33 +00:00
|
|
|
},
|
2020-11-11 10:41:06 +00:00
|
|
|
'mta-sts': {
|
|
|
|
'domain': 'mta-sts.mx0.kunbox.net',
|
|
|
|
'domain_aliases': {
|
|
|
|
'mta-sts.franzi.business',
|
|
|
|
'mta-sts.kunbox.net',
|
|
|
|
'mta-sts.kunsmann.eu',
|
|
|
|
'mta-sts.trans-agenda.eu',
|
|
|
|
},
|
|
|
|
},
|
2020-06-01 11:33:33 +00:00
|
|
|
'paste.kunsmann.eu': {
|
2021-07-17 08:53:35 +00:00
|
|
|
'locations': {
|
|
|
|
'/': {
|
|
|
|
'redirect': 'https://paste.franzi.business$request_uri',
|
|
|
|
},
|
2020-10-27 17:03:52 +00:00
|
|
|
},
|
2020-06-01 11:33:33 +00:00
|
|
|
},
|
2020-07-19 09:26:12 +00:00
|
|
|
'postfixadmin.mx0.kunbox.net': {
|
2020-11-08 09:43:51 +00:00
|
|
|
'webroot': '/opt/postfixadmin/public/',
|
2020-11-06 14:47:01 +00:00
|
|
|
'php': True,
|
2020-11-10 10:26:49 +00:00
|
|
|
'website_check_path': '/login.php',
|
|
|
|
'website_check_string': 'login',
|
2020-07-19 09:26:12 +00:00
|
|
|
},
|
|
|
|
'rspamd.mx0.kunbox.net': {
|
2021-07-04 17:27:12 +00:00
|
|
|
'locations': {
|
2020-09-22 16:36:10 +00:00
|
|
|
'/': {
|
|
|
|
'target': 'http://localhost:11334/',
|
|
|
|
},
|
2020-07-19 09:26:12 +00:00
|
|
|
},
|
|
|
|
},
|
2020-10-18 16:55:00 +00:00
|
|
|
'vliedel.random.franzi.business': {
|
|
|
|
'webroot_config': {
|
2021-01-10 09:47:38 +00:00
|
|
|
'mode': '0775',
|
2020-10-18 16:55:00 +00:00
|
|
|
'owner': 'vliedel',
|
|
|
|
'group': 'vliedel',
|
|
|
|
},
|
|
|
|
},
|
2020-07-19 09:26:12 +00:00
|
|
|
'webmail.mx0.kunbox.net': {
|
|
|
|
'php': True,
|
2020-11-10 10:26:49 +00:00
|
|
|
'website_check_path': '/',
|
|
|
|
'website_check_string': 'roundcube',
|
2020-07-19 09:26:12 +00:00
|
|
|
},
|
2020-06-01 09:31:13 +00:00
|
|
|
},
|
2020-08-30 08:34:16 +00:00
|
|
|
'worker_processes': 4,
|
2020-06-01 09:31:13 +00:00
|
|
|
},
|
2020-11-06 14:47:01 +00:00
|
|
|
'php': {
|
2020-11-08 09:57:01 +00:00
|
|
|
'version': '7.4',
|
2020-11-06 14:47:01 +00:00
|
|
|
'packages': {
|
|
|
|
'gd',
|
|
|
|
'imap',
|
|
|
|
'intl',
|
|
|
|
'json',
|
|
|
|
'mbstring',
|
|
|
|
'opcache',
|
|
|
|
'pgsql',
|
|
|
|
'readline',
|
|
|
|
'xml',
|
|
|
|
},
|
|
|
|
},
|
2020-11-07 21:32:47 +00:00
|
|
|
'postfix': {
|
|
|
|
'myhostname': 'mx0.kunbox.net',
|
|
|
|
'message_size_limit_mb': 50,
|
2021-04-01 15:00:23 +00:00
|
|
|
'mynetworks': {
|
|
|
|
'ovh',
|
|
|
|
},
|
2020-11-07 21:32:47 +00:00
|
|
|
},
|
|
|
|
'postfixadmin': {
|
2021-08-09 14:51:34 +00:00
|
|
|
'version': '3.3.10',
|
2021-05-13 07:15:55 +00:00
|
|
|
'setup_password': vault.decrypt('encrypt$gAAAAABgnNGpAqUs--qBXII9ZPcHtxaELy9e2Dx9O44n4l0O4nMHPoIyaPW5HkvpQ2zWTlh5OfjjOgunRtE_voJuY0Kdtji37ixAnuL9ErOJ0LDY5QfMkNPUgPs5alwz1baqYq6rqJ7NDmB0gHraY46v5eG79R2EyQ=='),
|
2020-11-07 21:32:47 +00:00
|
|
|
},
|
2020-10-23 13:22:35 +00:00
|
|
|
'radicale': {
|
|
|
|
'users': {
|
2021-07-02 17:29:52 +00:00
|
|
|
'kunsi': bwpass.password('dav.kunsmann.eu/kunsi'),
|
2020-10-23 13:22:35 +00:00
|
|
|
},
|
|
|
|
},
|
2020-11-08 09:43:51 +00:00
|
|
|
'rspamd': {
|
|
|
|
'ignore_spam_check_for_ips': {
|
|
|
|
# entropia
|
2021-04-19 18:59:55 +00:00
|
|
|
## hetzner (legacy)
|
2020-11-08 09:43:51 +00:00
|
|
|
'188.40.158.213',
|
|
|
|
'188.40.158.214',
|
|
|
|
'188.40.158.218',
|
|
|
|
'2a01:4f8:221:2f83:2130::2',
|
|
|
|
'2a01:4f8:221:2f83:2140::2',
|
|
|
|
'2a01:4f8:221:2f83:2180::2',
|
2021-04-19 18:59:55 +00:00
|
|
|
# yolocolo
|
|
|
|
'45.140.180.32/27', # Entropia e. V.
|
|
|
|
'45.140.180.112/28', # MicroPOC
|
|
|
|
'2a0e:c5c0:0:201::/64', # Entropia e. V.
|
|
|
|
'2a0e:c5c0:0:307::/64', # MicroPOC
|
|
|
|
|
2020-11-08 09:43:51 +00:00
|
|
|
# ccc
|
|
|
|
'212.12.55.65',
|
|
|
|
'212.12.55.67',
|
|
|
|
'2a00:14b0:4200:3000:23:55:0:65',
|
2021-04-19 18:59:55 +00:00
|
|
|
|
2020-11-08 09:43:51 +00:00
|
|
|
# IN-Berlin mailman
|
|
|
|
'130.133.8.35',
|
|
|
|
'192.109.42.28',
|
2020-11-08 10:06:30 +00:00
|
|
|
'192.109.42.122',
|
2020-11-08 09:43:51 +00:00
|
|
|
'193.29.188.9',
|
|
|
|
'217.197.80.23',
|
|
|
|
'217.197.80.134',
|
|
|
|
'2001:bf0:c000:a::2:134',
|
2021-07-25 07:53:45 +00:00
|
|
|
|
|
|
|
# RaumZeitLabor
|
|
|
|
'5.9.77.39',
|
|
|
|
'2a01:4f8:161:9025:4::/64',
|
2020-11-08 09:43:51 +00:00
|
|
|
},
|
2021-07-02 17:29:52 +00:00
|
|
|
'password': bwpass.password('rspamd.mx0.kunbox.net'),
|
2020-11-08 09:43:51 +00:00
|
|
|
},
|
2020-11-29 11:07:27 +00:00
|
|
|
'smartd': {
|
|
|
|
'disks': {
|
|
|
|
'/dev/nvme0',
|
|
|
|
'/dev/nvme1',
|
|
|
|
},
|
|
|
|
},
|
2021-02-06 11:49:58 +00:00
|
|
|
'systemd': {
|
|
|
|
'journal': {
|
|
|
|
# should last about 9 days
|
|
|
|
'maxuse': '2G',
|
|
|
|
},
|
|
|
|
},
|
2020-02-29 14:43:18 +00:00
|
|
|
'users': {
|
2020-03-27 11:29:35 +00:00
|
|
|
'kunsi': {
|
2021-07-17 09:33:43 +00:00
|
|
|
'enable_linger': True,
|
2020-03-27 11:29:35 +00:00
|
|
|
'groups': [
|
|
|
|
'www-data',
|
|
|
|
'libvirt',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'vliedel': {
|
2021-07-25 07:53:45 +00:00
|
|
|
'ssh_pubkey': {
|
2020-03-27 11:29:35 +00:00
|
|
|
'command="/usr/local/bin/rrsync /var/www/vliedel.random.franzi.business/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVOBnzs/QDzhvg70VK6xaV318Euaag1cWNjAJfsA266618UiZVx4xsHzNwYN960v0MhiVPMwnl3NoGWAT9/j/b5l3HAkihv4rEPYQkoGV0Mvtwee37dT5nCL8o54Kl+rhl4WPD4Ju5+iZ3AP84YMUJXUrETpZLRzQD1pKOWLaGxBSJolICjz5A7glDVNmvI8uH58EkzhA7q4lCPhzFLxfvFfJPRuEHdVViL2usvHpRnIDRQOCjLYF2fIpG3ULrvWGl4VZ+9cZCNqSN6ywjlH8U8e5Vc3Fi4sbqYh71LrBqs/lSJ+5BL9/rB3GZD1SVTbivyEDJGJu3HPDV4ahwYYKn minecraft@irc',
|
2021-01-03 07:43:34 +00:00
|
|
|
'command="/usr/local/bin/rrsync /var/www/vliedel.random.franzi.business/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDVB179psVd1HMcqOvQm0BXzVELake6ZFCZeV6DnR2/6baLvRqne/PWtfMDQpT9joc0iZtjW7dhI96Wga89PccaG1OnjzBuHDU9xRQ9pKYn64czmJYiG3uDKCPAWUnzvuqzMU3Prq9JWdjURwkEIRkwE98dzaLcUvop3DdbWFluGgq6+btP4UBc0Dkkd/EjngQsbcs2bPE935ySEW7rHBfOm/1bMjmyNx/5tCqfJI6GblSLRvWRhXmJJmKJM1GjdoBOuFS68mhPgkvP6An+nTzlWBsiilYjokYlbL3avveqiQV/qySAKkwX2nsAnYhY+sjoohcWzlhTWX9yq7yk7N8dJAEKAhpHFaLAXTwhkKG6qeUma194Z/ADHnP4YaD645dq+FAjflKIl430JlKe4FxkT77mOIf90prLCFenYfrEl4f4/lazKBudcmauhX+8oa/FPfuw+Nhc4q5oIAZDoiKdOLRPYInT/2kPv2xkLioi124UDotkEMnS4FennCxaq3Rf13AXkyQfc945RClkjAzEp6dU+82B9Oy+civUnEOtWQZcbrWTAeNMo6sg7fJoS+md8PxhOZ5QWR+uc/388idpxeOlGJTRpFYGQDMTXcexey0caSJuK9r/Qee2shMOoIjUwn0Z8LOUtI3m5UCpF9jbAWcp/7KXRr4L/itgsVhN7Q== minecraft@asus-mini',
|
2021-07-25 07:53:45 +00:00
|
|
|
},
|
2020-02-29 14:43:18 +00:00
|
|
|
},
|
|
|
|
},
|
2020-08-30 08:32:54 +00:00
|
|
|
'vm': {
|
|
|
|
'cpu': 8,
|
|
|
|
'ram': 64,
|
|
|
|
},
|
2020-02-29 14:43:18 +00:00
|
|
|
},
|
2020-02-23 10:13:45 +00:00
|
|
|
}
|