Commit Graph

816 Commits

Author SHA1 Message Date
772ed5e62e Add logs dir to Docker mounts on valhelsia 3 2021-05-12 23:35:43 -05:00
e3264e3035 Bump container version for Minecraft image 2021-05-12 23:09:20 -05:00
fce5a132dc Expose MC backups to host 2021-05-12 18:51:32 -05:00
7989ade3f5 Build like everything to set up a Minecraft server 2021-05-11 22:28:19 -05:00
c9656638be Add a Minecraft serber 2021-05-11 21:16:29 -05:00
ba62f3318d Cleanup 2021-05-04 14:24:53 -05:00
7484dce678 Update backup script to do it all, allowing for directory AND DB backups 2021-05-04 13:38:39 -05:00
26c45ff080 Add Firefly DB to Pi cluster 2021-05-02 15:25:14 -05:00
225a6b08e4 Switch to directory backups for pi-storage-1
Just got burned :c
2021-05-01 19:44:28 -05:00
b85120cd5a SCPSL 2021-05-01 01:02:42 -05:00
054e462589 Whoops, this kills the keepalived 2021-04-29 11:52:28 -05:00
1d0d1f7eb2 Add a public VIP to the k8s cluster 2021-04-29 11:48:22 -05:00
18c08bcbec Decom netdata 2021-04-17 21:46:33 -05:00
110bdd4bfb Decom game1 2021-04-17 21:46:20 -05:00
a3c052d13b Move desultd to its own container 2021-04-08 14:31:29 -05:00
8d2350da9c DEPLOY STALIN 2021-04-03 03:40:29 -05:00
80c67ac679 Start initializing gulagbot 2021-04-02 16:31:48 -05:00
055a6bd602 Update tmodloader 2021-03-31 22:18:40 -05:00
45187b069c Switch tmodloader containers 2021-03-30 19:37:31 -05:00
94c16d6df8 More nodes 2021-03-26 21:58:55 -05:00
8d544165a0 Enroll the previous pimps into the k8s cluster 2021-03-26 20:38:33 -05:00
3d10288d6d Deploy 9iron container to production 2021-03-25 12:59:40 -05:00
93d69ee303 Remove extraneous package tasks for python3-docker 2021-03-25 12:55:57 -05:00
48ecd2e27f Deploy docker to web1.desu.ltd
Also adds docker libs to all hosts
2021-03-25 12:51:47 -05:00
5deed42849 Pass more VIPs around for DNS usage 2021-03-24 17:50:55 -05:00
d1252592f1 Modularize keepalived configs 2021-03-24 17:49:25 -05:00
23ce4ca27b Enable Terraria 2021-03-22 21:33:06 -05:00
7007e0ab92 Move Terraria to game2 2021-03-21 21:06:52 -05:00
5cddcf236d Oh hey that needs to exist 2021-03-16 21:59:06 -05:00
d8446b1bb2 Provision game2.desu.ltd for SCPSL and other things 2021-03-16 21:25:01 -05:00
c0693a1b41 Back up Postgres instead of a huge amount of data overnight 2021-03-15 08:41:18 -05:00
aef451260c Backup Docker data on game1.desu.ltd 2021-03-13 16:21:40 -06:00
feedb56ca3 And this is to go even further wider 2021-03-11 20:45:24 -06:00
51ac72f086 Wider perms for the NFS share 2021-03-11 20:37:58 -06:00
3480547d35 Install keepalived on pi k8s nodes 2021-03-11 10:25:41 -06:00
00f1b6016d Fix incorrect user for Pleroma DB 2021-03-11 09:39:04 -06:00
e1d625391e Allow DB Pi to listen on ZT 2021-03-11 09:11:48 -06:00
9216ed876d Allow DB connections over ZT 2021-03-10 13:34:27 -06:00
4b52155164 Add netbox DB 2021-03-10 13:29:59 -06:00
8fcffe650b Rename Pleroma DB
Because apparently DB names with dashes are completely unsupported
2021-03-10 11:29:49 -06:00
a9235f0e2d Add quick MOTD for docker containers 2021-03-10 10:41:40 -06:00
171d769d17 Mount up NFS over ZT on desktop machines 2021-03-09 15:50:04 -06:00
25ce121337 Allow ZT clients to read from k8s pvs 2021-03-09 15:41:54 -06:00
3df725e186 Friendship ended with Minecraft
Now Terraria is my new Best Friend
2021-03-06 20:51:16 -06:00
7e595e7e89 Pull images 2021-03-05 01:27:26 -06:00
1d317bcb28 Add docker to the MOTD of game1 2021-03-05 01:16:01 -06:00
1107764d16 Deploy a Docker container for SCPSL 2021-03-05 00:56:03 -06:00
d3126738fc Enroll pi-storage-1 in the backups it needs 2021-03-02 04:55:47 -06:00
16a1f583fe Add another directory to NFS server 2021-03-01 15:12:19 -06:00
975cd7280c Actually have Postgres listen over the network
GOD D
2021-03-01 12:29:21 -06:00
4f27b68097 Remove k8s object management 2021-03-01 11:34:45 -06:00
c744bb30fe Minor fixes alla round 2021-03-01 03:36:23 -06:00
54ebc8f329 Add k8s configuration scripts
WEW SOURCE CONTROL
2021-02-28 23:33:31 -06:00
759e8609dc Add Grafana DB and stuff 2021-02-28 21:18:00 -06:00
4e6e287b19 Set up REALLY INSECURE NFS
Oh god I need to pare this down
But I mean it's NFS so you have to assume really high trust anyway
But still
2021-02-28 20:37:33 -06:00
51a1f63504 Set up mass storage Pi, run it before k8s inits 2021-02-28 19:50:49 -06:00
a771ddd16b Split Pi playbooks again 2021-02-28 19:48:42 -06:00
5e7b651bd7 Install libraspberrypi on pis 2021-02-28 07:06:35 -06:00
2c28ae7d3c Add MoTD for pi-mp 2021-02-27 20:17:52 -06:00
2df4c328d9 Add switch DHCP reservation 2021-02-27 20:06:11 -06:00
aed24573b8 Set up redundant DHCP
Wow that was actually really easy. Love broadcast protocols
2021-02-27 18:42:14 -06:00
2e0cb29c05 Whoops need a default gateway lol 2021-02-27 09:05:28 -06:00
8c750e700e Ensure unbound comes back up on restart 2021-02-27 08:58:41 -06:00
a326f5d35d Here have a DHCP server 2021-02-27 08:42:15 -06:00
6e60a217ff Deploy unbound to mp nodes 2021-02-27 07:20:50 -06:00
85485a4651 Consolidate Pi playbooks 2021-02-27 05:00:30 -06:00
ab9ddf96b2 Enroll all Pis into ZT 2021-02-25 20:47:40 -06:00
9a516d8f08 Separate out Pi roles, reorganize inventory, deploy docker to all pis indiscriminately 2021-02-25 12:56:48 -06:00
c5bd49b3ed Install openshift on k8s masters
It allows the k8s module to be used
2021-02-24 06:33:10 -06:00
0bc6affde2 Fix otwstudios not being... there. Like at all. 2021-02-23 06:49:38 -06:00
0ff0a90827 God dammit I need resolved 2021-02-22 16:18:52 -06:00
99c7814a40 Remove vars for k8s web UI 2021-02-22 09:58:36 -06:00
0b0c7035cf Remove testing k8s env 2021-02-22 04:05:58 -06:00
9d8e443b1d Ensure resolved isn't stubbing out requests 2021-02-20 10:48:28 -06:00
3b7a130823 Add MOTD to pi hosts 2021-02-18 19:26:09 -06:00
994fdfff88 PIKUBERNETES PIKUBERNETES PIKUBERNETES 2021-02-18 18:47:34 -06:00
8ed80c9b1a 5-second GRUB timeout on desktop 2021-02-18 00:03:58 -06:00
8661332182 Dualboot on desktop 2021-02-18 00:00:18 -06:00
1fdb9651c0 Add skip-pull to k8s roles
They absolutely do not work in a pull environment
2021-02-17 06:07:36 -06:00
2773f537bc Add a little test bed for k8s
IT WORKS
2021-02-16 16:39:53 -06:00
6fdcfbae68 Set up for Docker, add my desktop 2021-02-16 05:34:31 -06:00
4513e3982e Update Magic Pack URL to point to new directory layout 2021-02-09 04:44:30 -06:00
e41d721d36 Actually update game1's playbooks 2021-02-09 04:39:56 -06:00
385f172990 Remove worldedit 2021-02-08 11:54:06 -06:00
82d5db4a11 Reorganize playbook for game1.thefuck.how 2021-02-04 02:02:00 -06:00
f77c89e858 Add nightly restart job for minecraft@dammit 2021-02-04 02:00:40 -06:00
4a78e1c74e Hardcode EFS mounts
Not sure what I did, but the previous implementation was hella unreliable; nextcloud's mount didn't come back up clean after reboot
2021-01-26 06:15:03 -06:00
73d0899678 Remove unused var files 2021-01-26 05:50:14 -06:00
749660e45c Make Apache configuration more secure, add SSL cache 2021-01-26 05:20:48 -06:00
be810f09f5 Remove fedi1
F
2021-01-26 04:28:08 -06:00
b1c641c9f7 Move Pleroma to a desu.ltd box
WEW
2021-01-26 04:25:27 -06:00
1a699726b1 Back up a Matrix instance as well 2021-01-25 22:59:43 -06:00
6ead681d5c Move fedi1 over, add Pleroma role 2021-01-25 22:19:31 -06:00
5ed0257e9c Fix hostname scheme 2021-01-23 19:41:09 -06:00
c347bdf493 Update Netdata. Apparently. 2021-01-23 19:18:09 -06:00
7e8e9563fd Add Netdata role 2021-01-23 18:45:20 -06:00
0ea78b63c8 Disable vanilla serber again 2021-01-22 21:53:09 -06:00
39f3b1f852 Enable index generation for 9iron.club/files 2021-01-20 20:13:59 -06:00
14ea44130a Add onlyoffice and basic config
but it's BUGGY TRASH FOR FUCK'S SAKE AUGH
2021-01-20 19:25:16 -06:00
85adaf51c8 Remove redundant config for git.desu.ltd 2021-01-18 06:25:12 -06:00
43ca19b493 Port configuration for git.9iron.club 2021-01-18 06:24:32 -06:00
b2fc3ff377 Add missing 9iron configuration, move desu.ltd gitea to its own vars file 2021-01-18 06:17:54 -06:00
e469f406b0 Work on migrating web1.9iron.club over
Still have a ways to go
2021-01-18 06:16:49 -06:00
9e66c3a03e Fix comment in game.yml
Those are not DBs
2021-01-18 05:31:36 -06:00
f1ccf47b27 Move gameserver configs into their own vars files, too 2021-01-18 05:31:04 -06:00
2febec023f Fix perms on playbook vars 2021-01-18 05:09:40 -06:00
dbc9f7d6ae Always become 2021-01-18 05:08:43 -06:00
e59f9ce63e Move a bunch of webhead variables to their own vars files 2021-01-18 05:03:46 -06:00
d71bfdbe6f Enable Vanilla server 2021-01-18 04:24:33 -06:00
cf51bbd83c Add a shitty motd 2021-01-17 00:53:48 -06:00
c3743ee5a5 Exclude gitea logs in web1 backups 2021-01-14 18:06:13 -06:00
fb8dda7bb2 Fix difficulty setting for dammit 2021-01-03 01:03:59 -06:00
3e418b8a23 Add 30s restart delay to dammit 2021-01-01 22:20:41 -06:00
4184839ad8 Turn flight on 2021-01-01 22:18:43 -06:00
2ae954f2e8 Add a new Minecraft server
"New"
2021-01-01 00:33:02 -06:00
8e470bdd62 Correct NC cronjob 2020-12-31 22:23:26 -06:00
9c75583854 Reorder vhosts on web1
This puts desu.ltd as the default
2020-12-31 21:34:04 -06:00
9224394b85 Configure Nextcloud cronjob 2020-12-31 20:11:09 -06:00
ca5dd0b190 Fix incorrect gitea custom dir
I GUESS
2020-12-31 19:22:58 -06:00
3dfc6fbc71 Add repo for custom gitea assets 2020-12-31 18:52:02 -06:00
c503167c3b Don't require signin for Gitea 2020-12-30 21:52:32 -06:00
0097a08ea8 Update upstreams for websites 2020-12-30 21:35:59 -06:00
198722b71e Move data directories for NC and Gitea to /srv
Allows for mountpoints yadda yadda
2020-12-30 18:05:57 -06:00
2d7d1e0db6 Fix redirects 2020-12-30 17:10:46 -06:00
e649bbbae2 Fix incorrect assumptions about FCGI configuration
WHOOPS, it uses a TCP socket and I'm actually really stupid?
2020-12-30 17:06:00 -06:00
a01ce39e0a Migrate otwstudios.org 2020-12-30 16:56:07 -06:00
f1280f1e5e Reorder roles of web1.desu.ltd, enable FastCGI, switch to prefork, and enable HTTP2
WEW
2020-12-30 16:37:22 -06:00
0fcbc3be6d Fix incorrect backup dir for nextcloud 2020-12-30 15:32:44 -06:00
7689c42e51 Migrate 9iron.club and www.9iron.club to web1.desu.ltd 2020-12-30 15:31:44 -06:00
31c4e91f7f Set HSTS on Nextcloud 2020-12-29 10:01:46 -06:00
33a203cc94 Reorganize /var/www on web1 2020-12-29 09:11:57 -06:00
9bec0ffb58 Rename databases for desultd
Avoids name collisions later on, like the one I want to do for 9iron
2020-12-29 09:06:08 -06:00
eb97eb4a7a Add ability to exclude from s3backup.sh, lay out gameserver backups more nicely to respect this 2020-12-29 08:35:41 -06:00
978ffc21ac Enroll an old Paper server under CMS 2020-12-29 08:33:24 -06:00
2c52a0171c Add Matrix/Synapse DB configuration 2020-12-27 13:18:26 -06:00
cf2ce15ca0 Add Pleroma DB configuration 2020-12-27 13:15:59 -06:00
7726fffb08 Add database configuration to psql1 9iron 2020-12-27 13:14:05 -06:00
b5d4646724 Enroll psql1.9iron.club
OH BOY HERE WE GO
2020-12-27 12:07:55 -06:00
3b17b4e39c Wait no this is the commit for the new backup script 2020-12-24 09:40:58 -06:00
58a9827b28 Define machine-specific backups 2020-12-24 09:19:12 -06:00
4cbc53a687 Add Factorio serber 2020-12-21 21:19:47 -06:00
d95416e831 Add a few bobs to glue game.yml together 2020-12-21 03:14:15 -06:00
42ccb2bcc6 Add game1.thefuck.how, separate playbooks out 2020-12-21 01:18:32 -06:00
ad70b4aca0 Exodia, obliterate 2020-10-16 22:17:38 -05:00
99fe419df6 Bump max players on thefuck 2020-10-11 20:50:29 -05:00
967e58effd Tag website for thefuck.how 2020-10-11 20:08:20 -05:00
d243de4638 Integrate thefuck.how into playbooks 2020-10-11 20:04:43 -05:00
3e7a8c703a Fix group names 2020-10-11 19:56:06 -05:00
52dc97f7f7 Set up inventory for brett's shit 2020-10-11 19:41:45 -05:00
abb8090c9b Add new host and enroll it in Paper
Note: currently untested, hopefully shit Just Werks
2020-10-10 22:44:17 -05:00
64a0b2b9ec Rename Minecraft role 2020-10-10 21:22:50 -05:00
eb9d3b64c5 Add RGB kraken role 2020-10-04 18:10:45 -05:00
f911ec4c99 Separate appservers into its own playbook 2020-09-27 16:20:10 -05:00
d530671a35 Disable minecraft on mc1
Ironic
2020-09-17 08:23:08 -05:00
8aa0027bfa Add new pulseaudio role
It's like system mode but not
2020-09-16 14:28:02 -05:00
4107d6f232 HARDER DADDY 2020-09-12 21:21:54 -05:00
75424d6d82 Deploy a new tmodloader serber 2020-09-12 20:52:57 -05:00
42f8c8aa35 Okay, turns out we need to separate out roles
This makes a bit more sense now, I guess
2020-09-11 11:56:46 -05:00
ab17391c0b Add a new website, desu 2020-09-11 11:12:29 -05:00
46c879d6b0 Change MOTD
I love you Sam
2020-09-07 19:07:19 -05:00
ddd8ed57e1 Add a new ME5 serber 2020-09-06 22:53:45 -05:00
ab7dff679e Add basic phone role
IT'S HABBENING :DDDDD
2020-09-04 09:08:00 -05:00
12f9f1254b Add phone playbook for Zerotier 2020-09-04 07:15:22 -05:00
82c78e092e Increase TTLs on DNS records to 3600s (from 300s)
I'm fairly confident in the stability of my record sets now that I've done most of the experimentation
2020-08-27 17:40:53 -05:00
85ecd8fa68 Add TES3MP server 2020-08-23 23:12:39 -05:00
b638c1aad0 Change repo for root website 2020-08-16 07:08:05 -05:00
6e9af61025 Add new root directory to Gitea 2020-08-15 05:53:28 -05:00
590741d001 Rename Gitea root directory 2020-08-15 05:51:05 -05:00
11bb70b522 Move backups on web1 back into / 2020-08-15 05:31:39 -05:00
a32c7f575a Decom a really old box 2020-08-13 20:36:41 -05:00
bab99ac0a9 Add Carson's website 2020-08-10 20:15:35 -05:00
3f419f8e6e Fix more incorrect roles 2020-08-08 20:38:14 -05:00
0faa20d3e5 Rename a bunch of roles 2020-08-08 20:37:28 -05:00
1ef205ff54 Add a role for gameservers
Apparently ansible dies if one of the imported playbooks is empty
Weird
2020-08-05 23:42:17 -05:00
7777a18e08 Hardcode IPs
This should fix ansible-pull on fedi1
2020-08-05 23:33:26 -05:00
d3a7c482ae Decom game1
This puts me at no game servers
fug
2020-08-05 08:15:37 -05:00
0728ef23b1 Revert "Disable matrix"
This reverts commit a3b7e64989.
2020-08-02 16:28:18 -05:00
a3b7e64989 Disable matrix
For now, until I can get it a better host
2020-08-02 08:06:12 -05:00
25a5270e33 Move Matrix to a dedi psql 2020-08-01 20:59:55 -05:00
0c9d177bbf Move Pleroma DB off to its own box, move Pleroma to fedi1
GOD THIS SUCKS
2020-08-01 18:35:38 -05:00
290b180a61 Add a DB server 2020-08-01 16:47:56 -05:00
68ddce3237 Polish up DNS a bit 2020-08-01 16:36:04 -05:00
bddbf8c0d9 Tag DNS tasks 2020-08-01 16:32:04 -05:00
98b210413b Move Gmod DNS out of role 2020-08-01 16:30:39 -05:00
d358e3b64f Move Minecraft DNS out of role 2020-08-01 16:29:01 -05:00
894d6c8504 Move DNS to its own playbook 2020-08-01 16:25:56 -05:00
e530ab7cef Finally make sane our inventory? 2020-07-30 08:52:41 -05:00
d62e55c418 Do Pleroma before Lain 2020-07-30 08:30:21 -05:00
54a8e4aa2d Add Pleroma
GOD THAT SUCKED
FUCK
GOD I HATE ELIXR
2020-07-28 10:41:07 -05:00
ab7ce38bc4 Get rid of Nagios, make web2 our new cowfee host 2020-07-28 06:59:00 -05:00
d17911c470 Update naming of inventory
in anticipation of cowfee
2020-07-28 06:21:29 -05:00
d15b61340e Use the breeze SDDM them
Turns out chili is kinda borked
2020-07-27 11:55:46 -05:00
764681ed7a Add theme support to SDDM role 2020-07-27 11:47:34 -05:00
b36fbed245 Add SDDM configuration 2020-07-27 11:20:38 -05:00
31533708ad Also should probably remove its plays 2020-07-27 09:32:31 -05:00
8ed1141fd2 Decom game2
For real this time
2020-07-27 09:32:07 -05:00
96857fdedd Spin up a new botania pack 2020-07-25 21:54:28 -05:00
c6195d3def Add Nagios 2020-07-23 23:13:16 -05:00
a13f02a5ab Decom game1 2020-07-23 20:11:02 -05:00
01edfb1bff Recom game2
I guess
2020-07-14 18:09:26 -05:00
a0c931d4ad Retire game2 2020-07-12 08:28:24 -05:00
66e998d5a6 Change default map for gmod serber 2020-07-06 00:38:35 -05:00
bcb99d83d6 Deploy ttt to game1 2020-07-06 00:07:35 -05:00
b510dd51e3 Remove game3
This thing is
SO
GODDAMN
LIGHT
2020-07-05 12:35:22 -05:00
43f82f9ec9 Change default map 2020-07-05 11:49:30 -05:00
042b0e8fda Change default gamemode 2020-07-05 11:47:32 -05:00
241a74a21f Add a gmod server and required roles 2020-07-05 11:45:27 -05:00
61ed816059 Update inventory, add a new steamcmd role 2020-07-05 09:26:21 -05:00
a025d2ecbc Increase view dist for magic pack 2020-07-02 00:24:05 -05:00
6789d65054 Add backups role to desktops
wew
2020-06-30 06:36:29 -05:00
d095148efc Remove dokuwiki
F
2020-06-30 06:01:19 -05:00
ec10a5706f Reorganize roles, split minecraft heads in two 2020-06-28 04:05:14 -05:00
db8eb6ae03 Really bump forge 2020-06-24 10:46:22 -05:00
cb383148e9 Bump forge 2020-06-24 10:45:26 -05:00
83319fa187 Audit more variables, move some into playbooks 2020-06-24 07:20:06 -05:00
0c77cd948a Move playbooks to subdir 2020-06-24 06:54:45 -05:00