2020-11-08 14:05:17 +00:00
|
|
|
# To use the serial console in iRMC, set up grub as follows:
|
|
|
|
# GRUB_TIMEOUT=30
|
|
|
|
# GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200 console=tty0"
|
|
|
|
# GRUB_TERMINAL=serial
|
|
|
|
# GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
|
|
|
|
|
2020-10-25 12:54:19 +00:00
|
|
|
nodes['rx300'] = {
|
2021-06-11 13:02:43 +00:00
|
|
|
'hostname': '31.47.232.106',
|
2020-10-25 15:46:45 +00:00
|
|
|
'bundles': {
|
2021-07-10 12:22:19 +00:00
|
|
|
'check-mail-received',
|
2021-07-09 13:56:26 +00:00
|
|
|
'gitea',
|
2021-07-11 13:24:08 +00:00
|
|
|
'jenkins-ci',
|
2021-06-05 10:23:09 +00:00
|
|
|
'lm-sensors',
|
2021-07-01 14:10:06 +00:00
|
|
|
'miniflux',
|
2021-07-11 13:23:49 +00:00
|
|
|
'php',
|
2021-06-29 12:24:10 +00:00
|
|
|
'postgresql',
|
2021-05-20 16:24:23 +00:00
|
|
|
'smartd',
|
2021-07-02 14:15:31 +00:00
|
|
|
'travelynx',
|
2021-05-23 12:33:20 +00:00
|
|
|
'vmhost',
|
2020-10-25 15:46:45 +00:00
|
|
|
'zfs',
|
|
|
|
},
|
2020-11-21 09:55:09 +00:00
|
|
|
'groups': {
|
2021-07-01 16:23:30 +00:00
|
|
|
'debian-bullseye',
|
2021-06-29 12:24:10 +00:00
|
|
|
'webserver',
|
2020-11-21 09:55:09 +00:00
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
'metadata': {
|
2020-11-09 14:16:29 +00:00
|
|
|
'interfaces': {
|
2021-05-23 12:33:20 +00:00
|
|
|
'br0': {
|
2020-11-09 14:16:29 +00:00
|
|
|
'ips': {
|
2021-06-11 13:02:43 +00:00
|
|
|
'31.47.232.106/29',
|
|
|
|
'2a00:f820:528::2/64',
|
2020-11-09 14:16:29 +00:00
|
|
|
},
|
2021-06-11 13:02:43 +00:00
|
|
|
'gateway4': '31.47.232.105',
|
|
|
|
'gateway6': '2a00:f820:528::1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'ipmitool': {},
|
2021-07-09 13:56:26 +00:00
|
|
|
|
|
|
|
# for franzi.business deployment
|
2021-07-09 14:38:26 +00:00
|
|
|
'ruby': {},
|
|
|
|
'ruby-dev': {},
|
|
|
|
'ruby-bundler': {},
|
2021-07-11 13:23:49 +00:00
|
|
|
|
|
|
|
# more php
|
|
|
|
'php-imagick': {},
|
|
|
|
'php-yaml': {},
|
2020-11-09 14:16:29 +00:00
|
|
|
},
|
2021-07-01 16:23:30 +00:00
|
|
|
# XXX remove this once nginx.org has packages for debian bullseye
|
|
|
|
'repos': {
|
|
|
|
'nginx': {
|
|
|
|
'items': atomic({
|
|
|
|
'deb http://nginx.org/packages/debian buster nginx',
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
},
|
2020-11-09 14:16:29 +00:00
|
|
|
},
|
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'),
|
|
|
|
},
|
2021-07-10 10:59:54 +00:00
|
|
|
},
|
2021-07-09 13:56:26 +00:00
|
|
|
'gitea': {
|
2021-07-09 16:19:15 +00:00
|
|
|
'version': '1.14.4',
|
|
|
|
'sha256': 'e1ce2fadcf6561cb2543b44b9f1382d6ce4be29ed8edd6d9d7080a218aa114b0',
|
2021-07-09 13:56:26 +00:00
|
|
|
'domain': 'git.franzi.business',
|
|
|
|
'email_domain_blocklist': {
|
|
|
|
'gmail.com',
|
|
|
|
'yahoo.com',
|
|
|
|
'aol.com',
|
|
|
|
'comcast.net',
|
|
|
|
'verizon.net',
|
|
|
|
'hotmail.com',
|
|
|
|
'cox.net',
|
|
|
|
'msn.com',
|
|
|
|
},
|
|
|
|
'enable_git_hooks': True,
|
|
|
|
'install_ssh_key': True,
|
|
|
|
'internal_token': vault.decrypt('encrypt$gAAAAABfPncYwCX-NdBr9LdxLyGqmjRJqhmwMnWsdZy6kVOWdKrScW78xaqbJ1tpL1J4qa2hcZ7TQj3l-2mkyJNJOenGzU3TsI-gYMj9vC4m8Bhur5zboxjD4dQXaJbD1WSyHJ9sPJYsWP3Gjg6I19xeq9xMlAI6xaS9vOfuoI8nZnnQPx1NjfQEj03Jxf8a0-3F20sfICst1xRa5K48bpq1PFkK_oRojg=='),
|
|
|
|
'lfs_secret_key': vault.decrypt('encrypt$gAAAAABfPnd1vgNDt86-91YhviQw8Z0djSp4f_tBt76klDv-ZcwxP1ryJzqJ7qnfaTe_6DYCfc82gEzvVDsyBlCoAkGpt1AI2_LCKetuSCnDPjtGvwdQl3A53lFEdG2UJl1uUiR7f8Vr'),
|
|
|
|
'oauth_secret_key': vault.decrypt('encrypt$gAAAAABfPnbfTISbldhS0WyxVKBHVVoOMcar7Kxmh1kkmiUGd-RzbbnNzzhEER_owjttPQcACPfGKZ6WklaSsXjLq8km4P6A9QmPbC06GmHbc91m0odCb1KiY7SZeUD35PiRiGSq50dz'),
|
|
|
|
'security_secret_key': vault.decrypt('encrypt$gAAAAABfPnc-R7pkDj4pQgHDb6pzlNYNJgiWdeBFsX7IsHSnCtNPbZxCdtSL8cHtQzVO1KbSxS7zCwssmgiR8Kj54Z-koD-FQbjpbKWoIPw8SsyeqBVlZhIeEzhw_1t7_7ZTvv1O8AePdNYel9JJb_TaAZ8Vx46ZfsEPy8zaaHrqOekHC6RAnB4='),
|
|
|
|
},
|
2021-07-01 14:15:03 +00:00
|
|
|
'icinga_options': {
|
|
|
|
'pretty_name': 'franzi.business',
|
|
|
|
},
|
2021-07-11 13:47:45 +00:00
|
|
|
'jenkins-ci': {
|
|
|
|
'install_ssh_key': True,
|
|
|
|
},
|
2021-07-01 14:10:06 +00:00
|
|
|
'miniflux': {
|
|
|
|
'domain': 'rss.franzi.business',
|
|
|
|
},
|
|
|
|
'nginx': {
|
|
|
|
'vhosts': {
|
2021-07-09 13:56:26 +00:00
|
|
|
'gitea': {'ssl': '_.franzi.business'},
|
|
|
|
'miniflux': {'ssl': '_.franzi.business'},
|
2021-07-09 14:11:53 +00:00
|
|
|
'franzi.business': {
|
|
|
|
'webroot': '/var/www/franzi.business/_site/',
|
|
|
|
'ssl': '_.franzi.business',
|
|
|
|
'locations': {
|
|
|
|
'/.well-known/matrix/client': {
|
|
|
|
'return': json_dumps({
|
|
|
|
'm.homeserver': {
|
|
|
|
'base_url': 'https://matrix.franzi.business',
|
|
|
|
},
|
|
|
|
'm.identity_server': {
|
|
|
|
'base_url': 'https://matrix.org',
|
|
|
|
},
|
|
|
|
'im.vector.riot.jitsi': {
|
|
|
|
'preferredDomain': 'meet.ffmuc.net',
|
|
|
|
},
|
|
|
|
}, sort_keys=True),
|
|
|
|
'additional_config': {
|
|
|
|
'default_type application/json',
|
|
|
|
'add_header Access-Control-Allow-Origin *',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'/.well-known/matrix/server': {
|
|
|
|
'return': json_dumps({
|
|
|
|
'm.server': 'matrix.franzi.business:443',
|
|
|
|
}, sort_keys=True),
|
|
|
|
'additional_config': {
|
|
|
|
'default_type application/json',
|
|
|
|
'add_header Access-Control-Allow-Origin *',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-07-11 13:24:08 +00:00
|
|
|
'jenkins': {
|
|
|
|
'domain': 'jenkins.franzi.business',
|
|
|
|
'ssl': '_.franzi.business',
|
|
|
|
'locations': {
|
|
|
|
'/': {
|
|
|
|
'target': 'http://localhost:22010/',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'website_check_path': '/login',
|
|
|
|
'website_check_string': 'Welcome to Jenkins',
|
|
|
|
},
|
|
|
|
'unicornsden-redirect': {
|
2021-07-01 15:40:07 +00:00
|
|
|
'domain': 'unicornsden.franzi.business',
|
|
|
|
'ssl': '_.franzi.business',
|
2021-07-11 13:24:08 +00:00
|
|
|
'locations': {
|
|
|
|
'/': {
|
|
|
|
'redirect': 'https://map.unicornsden.com/',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'unicornsden': {
|
|
|
|
'domain': 'map.unicornsden.com',
|
|
|
|
'php': True,
|
2021-07-01 15:40:07 +00:00
|
|
|
'webroot_config': {
|
2021-07-11 13:47:45 +00:00
|
|
|
'owner': 'jenkins',
|
|
|
|
'group': 'jenkins',
|
2021-07-01 15:40:07 +00:00
|
|
|
'mode': '0755',
|
|
|
|
},
|
|
|
|
},
|
2021-07-02 14:15:31 +00:00
|
|
|
'travelynx': {
|
|
|
|
'domain': 'travelynx.franzi.business',
|
|
|
|
'ssl': '_.franzi.business',
|
2021-07-04 17:27:12 +00:00
|
|
|
'locations': {
|
2021-07-02 14:15:31 +00:00
|
|
|
'/': {
|
|
|
|
'target': 'http://127.0.0.1:22020',
|
|
|
|
},
|
2021-07-04 17:27:12 +00:00
|
|
|
'/static': {
|
|
|
|
'root': '/opt/travelynx/public',
|
|
|
|
},
|
|
|
|
'/service-worker.js': {
|
|
|
|
'root': '/opt/travelynx/public',
|
|
|
|
},
|
2021-07-02 14:15:31 +00:00
|
|
|
},
|
|
|
|
},
|
2021-07-01 14:10:06 +00:00
|
|
|
},
|
|
|
|
},
|
2021-07-11 13:23:49 +00:00
|
|
|
'php': {
|
|
|
|
'version': '8.0',
|
|
|
|
'packages': {
|
|
|
|
'gd',
|
|
|
|
'imap',
|
|
|
|
'intl',
|
|
|
|
'mbstring',
|
|
|
|
'opcache',
|
|
|
|
'pgsql',
|
|
|
|
'readline',
|
|
|
|
'xml',
|
|
|
|
},
|
|
|
|
},
|
2021-06-29 12:24:10 +00:00
|
|
|
'postgresql': {
|
|
|
|
'version': '13',
|
|
|
|
},
|
2021-05-20 16:24:23 +00:00
|
|
|
'smartd': {
|
|
|
|
'disks': {
|
|
|
|
'/dev/nvme0',
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 11:18:41 +00:00
|
|
|
'systemd-networkd': {
|
2021-05-23 12:33:20 +00:00
|
|
|
'bridges': {
|
|
|
|
'br0': {
|
|
|
|
'match': {
|
2021-06-28 17:41:00 +00:00
|
|
|
'eno1',
|
2021-05-23 12:33:20 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 11:18:41 +00:00
|
|
|
},
|
2021-07-02 14:15:31 +00:00
|
|
|
'travelynx': {
|
|
|
|
'version': '1.20.2',
|
|
|
|
'mail_from': 'travelynx@franzi.business',
|
|
|
|
},
|
2021-01-22 18:07:25 +00:00
|
|
|
'users': {
|
|
|
|
'kunsi': {
|
2021-05-23 12:33:20 +00:00
|
|
|
'groups': {
|
|
|
|
'libvirt',
|
|
|
|
},
|
2021-01-22 18:07:25 +00:00
|
|
|
},
|
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
'zfs': {
|
2020-10-25 15:49:36 +00:00
|
|
|
'module_options': {
|
2021-06-25 16:39:06 +00:00
|
|
|
'zfs_arc_max_gb': 16,
|
2020-10-25 15:49:36 +00:00
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
'pools': {
|
|
|
|
'tank': {
|
|
|
|
'raidz': {
|
|
|
|
'/dev/sda',
|
|
|
|
'/dev/sdb',
|
|
|
|
'/dev/sdc',
|
|
|
|
'/dev/sdd',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-05-23 12:33:20 +00:00
|
|
|
'datasets': {
|
|
|
|
'tank/libvirt': {
|
|
|
|
'mountpoint': '/var/lib/libvirt',
|
|
|
|
'compression': 'on',
|
|
|
|
},
|
|
|
|
},
|
2020-10-25 15:46:45 +00:00
|
|
|
},
|
|
|
|
'vm': {
|
|
|
|
'cpu': 32,
|
2021-05-20 15:51:50 +00:00
|
|
|
'ram': 256,
|
2020-10-25 15:46:45 +00:00
|
|
|
},
|
|
|
|
},
|
2020-10-25 12:54:19 +00:00
|
|
|
}
|