bundlewrap/nodes/htz-cloud/pirmasens.py

88 lines
2.6 KiB
Python
Raw Normal View History

nodes['htz-cloud.pirmasens'] = {
'bundles': {
'check-mail-received',
'dovecot',
'php',
'postfixadmin',
'postgresql',
'redis',
'rspamd',
'unbound',
},
'groups': {
2020-11-21 09:55:09 +00:00
'debian-buster',
'webserver',
},
'metadata': {
'interfaces': {
'eth0': {
2020-11-09 14:16:29 +00:00
'ips': {
'195.201.90.143',
2020-11-09 14:16:29 +00:00
'2a01:4f8:1c1c:2acf::1/64',
},
'gateway4': '172.31.1.1',
'gateway6': 'fe80::1',
},
},
'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.info',
},
'nginx': {
'vhosts': {
'mail.kunsmann.info': {
'webroot': '/opt/postfixadmin/public/',
'php': True,
'website_check_path': '/login.php',
'website_check_string': 'login',
},
'salonkatrin.de': {
'website_check_path': '/',
'website_check_string': 'Salon Katrin',
},
},
},
'php': {
'version': '7.4',
'packages': {
'gd',
'imap',
'intl',
'json',
'mbstring',
'opcache',
'pgsql',
'readline',
'xml',
},
},
'postfix': {
'myhostname': 'mail.kunsmann.info',
'message_size_limit_mb': 50,
},
'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=='),
},
'rspamd': {
'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'),
},
'users': {
'frank': {},
'sophie': {
'delete': True,
},
},
'vm': {
'cpu': 2,
'ram': 4,
},
},
}