2021-02-20 15:53:59 +00:00
|
|
|
nodes['htz-cloud.pleroma'] = {
|
|
|
|
'bundles': {
|
|
|
|
'pleroma',
|
|
|
|
'postgresql',
|
|
|
|
'zfs',
|
|
|
|
},
|
|
|
|
'groups': {
|
|
|
|
'debian-buster',
|
|
|
|
'webserver',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'eth0': {
|
|
|
|
'ips': {
|
|
|
|
'159.69.11.231',
|
|
|
|
'2a01:4f8:c2c:c410::1/64',
|
|
|
|
},
|
|
|
|
'gateway4': '172.31.1.1',
|
|
|
|
'gateway6': 'fe80::1',
|
|
|
|
},
|
2021-04-24 06:53:20 +00:00
|
|
|
'ens10': {
|
|
|
|
'ips': {
|
|
|
|
'172.19.137.5/32',
|
|
|
|
},
|
|
|
|
'routes': {
|
|
|
|
# VPN
|
|
|
|
'172.19.136.0/22': {
|
|
|
|
'via': '172.19.137.1',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-02-20 15:53:59 +00:00
|
|
|
},
|
2021-04-10 13:05:29 +00:00
|
|
|
'icinga_options': {
|
|
|
|
'pretty_name': 'cybert-media.net',
|
|
|
|
},
|
2021-02-20 19:45:53 +00:00
|
|
|
'cron': {
|
2022-02-05 10:41:41 +00:00
|
|
|
'jobs': {
|
|
|
|
'auto-authorize-sm-users': '* * * * * root echo "UPDATE users SET approval_pending=false WHERE email LIKE \'\\%@seibert-media.net\' AND approval_pending=true;" | psql pleroma >/dev/null',
|
|
|
|
},
|
2021-02-20 19:45:53 +00:00
|
|
|
},
|
2021-02-20 15:53:59 +00:00
|
|
|
'nginx': {
|
|
|
|
'vhosts': {
|
|
|
|
'pleroma': {
|
2021-03-30 19:26:25 +00:00
|
|
|
'max_body_size': '16M',
|
2021-02-20 18:37:33 +00:00
|
|
|
'extras': True,
|
2021-02-20 15:53:59 +00:00
|
|
|
},
|
2021-02-21 10:06:46 +00:00
|
|
|
'pleroma-www-redir': {
|
|
|
|
'domain': 'www.cybert-media.net',
|
2021-07-04 17:27:12 +00:00
|
|
|
'locations': {
|
|
|
|
'/': {
|
|
|
|
'redirect': 'https://cybert-media.net$request_uri',
|
|
|
|
},
|
|
|
|
},
|
2021-02-21 10:06:46 +00:00
|
|
|
},
|
2021-02-20 15:53:59 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'pleroma': {
|
|
|
|
'version': '2.2.2',
|
2021-02-20 19:45:53 +00:00
|
|
|
'url': 'cybert-media.net',
|
2021-02-20 18:37:33 +00:00
|
|
|
'secret_key': vault.decrypt('encrypt$gAAAAABgMVXXclfxVY022fM0Fdf94Oh3sxVlK0lYyBO_CsQFEbZcMua3w1oJY8_9d1JcrCJSSeBRTDnt-ZkRCQ6xKoALo8Rl7s9DPxa7J0vHdkggeZ3IHaOyXBcBPdx8vILyKDLHRXacaynOUBOjy6RIl6Qf2wH1ASbphCcjD-Njricg4PG6Rcixm87fF60rLBjAAkRoz5ZQnXlut1rhjLj-z-7UpA68fkeyPVJXbroWBJdmvCUt92dwjuGARsku2XI22mVvjtJJ'),
|
2021-02-20 15:53:59 +00:00
|
|
|
},
|
2021-02-20 19:49:35 +00:00
|
|
|
'postfix': {
|
|
|
|
'myhostname': 'cybert-media.net',
|
|
|
|
},
|
2022-02-27 11:51:53 +00:00
|
|
|
'postgresql': {
|
|
|
|
'version': '11',
|
|
|
|
},
|
2021-02-20 15:53:59 +00:00
|
|
|
'vm': {
|
|
|
|
'cpu': 1,
|
|
|
|
'ram': 2,
|
|
|
|
},
|
|
|
|
'zfs': {
|
|
|
|
'pools': {
|
2021-08-17 16:09:51 +00:00
|
|
|
'tank': {
|
|
|
|
'when_creating': {
|
|
|
|
'config': [{
|
|
|
|
'devices': {'/dev/sdb'},
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
},
|
2021-02-20 15:53:59 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|