bundlewrap/nodes/htz-cloud/pirmasens.py

78 lines
2.3 KiB
Python
Raw Normal View History

nodes['htz-cloud.pirmasens'] = {
'bundles': {
'dovecot',
'php',
'postfixadmin',
'postgresql',
'rspamd',
},
'groups': {
'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',
},
},
'cron': {
'backup': '0 2 * * * root /root/backup.sh',
},
'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_url': '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': {
'setup_password': vault.decrypt('encrypt$gAAAAABfpwn8NKxTztI39GzhGw66NNsWa72Wq7Sa_LoIG_L0ewCVPzhmw93xhWo3jfT8hCn9sqJgbArmPHtLMcLkSHdBPbQe0bLZMSib-mA9sEQD0wgKMyuRCPHIIMKSAoMaJaYnHSTO-mz1q7_tKzd6LkHF_AGsboS1vpQvg-CDth6e0msTwe8='),
},
'rspamd': {
'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'),
},
'users': {
'frank': {},
'sophie': {
'delete': True,
},
},
'vm': {
'cpu': 1,
'ram': 2,
},
},
'os': 'debian',
'os_version': (10,),
}