Commit Graph

595 Commits

Author SHA1 Message Date
5c2e429650 Remove trailing whitespace from minecraft unit 2020-07-21 13:32:16 -05:00
bca846f5ad Change type of ansible-pull service 2020-07-21 13:30:58 -05:00
cf9080109b Remove some stuff from issue 2020-07-16 08:28:57 -05:00
651a353798 Add custom etc/issue 2020-07-16 08:26:35 -05:00
4a1f0be56b Revert "Narrow listen for local apache"
This reverts commit 81ec24b28a.
2020-07-12 10:04:36 -05:00
81ec24b28a Narrow listen for local apache 2020-07-12 10:02:18 -05:00
00ffbed6d2 Deploy a local website to each machine
I guess
2020-07-12 10:01:57 -05:00
c6a82c0d4e Add PHP, fix enabling everything we wanted to disable 2020-07-12 09:58:40 -05:00
8ff9285b35 Modularize Apache configs 2020-07-12 09:54:04 -05:00
857a0c4310 Fix redis getting incorrect dir perms 2020-07-12 07:52:06 -05:00
c68def849b Disable monthly huge backups
Alright this was a bad idea
2020-07-11 09:51:19 -05:00
040eb0212e Actually specify our bucket
GOD DAMMIT
WHERE IS THIS SHIT GOING
2020-07-11 09:24:11 -05:00
8cb9c49645 Specify max memory for backups
Just tried to dump home and it ate like 4 gigs lmao
2020-07-11 09:22:16 -05:00
347c04c223 Actually we should probably push to the right directory, that sounds like a good idea 2020-07-11 09:16:07 -05:00
8956555ac1 Fix some tar syntax, include dotfiles 2020-07-11 09:12:56 -05:00
e6a3520795 Fix aws cli trying to recurse through stdin
lol whoops
2020-07-11 09:10:03 -05:00
4ffb39d6c8 Fix incorrect argument name to aws cli 2020-07-11 09:09:29 -05:00
5b74e64692 Fix trying to double-compress backups 2020-07-11 09:08:46 -05:00
e93711a2f6 Switch storage class for monthlies
Cause they're gonna be yuuuuge
2020-07-11 09:07:50 -05:00
c98a26f6fb Fix tar arg order 2020-07-11 09:06:37 -05:00
c64386dd4e Fix another damn typo 2020-07-11 09:05:34 -05:00
6210946589 Add some logging 2020-07-11 09:03:38 -05:00
6da299c1df Fix typo
god dammit
2020-07-11 09:01:45 -05:00
9861f54c0f Add monthly huge backups 2020-07-11 08:59:19 -05:00
4b81bc74c6 Add q4wine, reorder package list 2020-07-11 05:59:51 -05:00
4a21dd9a2b Merge branch 'master' of git.9iron.club:salt/ansible 2020-07-08 09:06:34 -05:00
e451a4ff3e Add keepassxc repo 2020-07-08 09:06:29 -05:00
6f9c055a8c Add fork awesome font
lol fork awesome
2020-07-08 05:41:15 -05:00
52dfa16132 Install ansible-lint 2020-07-08 04:52:29 -05:00
75d47c0f08 More tab unification 2020-07-08 04:51:45 -05:00
ead19311c2 Also ensure Ansible owns EVERYTHING in their home dir 2020-07-08 00:47:13 -05:00
41225985fd Ensure Ansible user has the right perms
This was causing issues when I migrated home directories across machines
2020-07-08 00:45:14 -05:00
1da2e625b5 Remove 99x11-common_start
This seems like a bad idea at first, but then you realize that the moment a user's .xsessionrc or .xinitrc gets sourced in, 99% of the time they exec themselves
2020-07-08 00:41:31 -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
8946e7284f Use lineinfile instead of calling out to dpkg 2020-07-05 08:56:35 -05:00
4b9ea3b3f6 Assure .ssh dir BEFORE we have to write something into it 2020-07-05 08:46:47 -05:00
5972c8f7e7 Configure running services
In particular, disable unattended-upgrades as it may interfere with ansible-pull
2020-07-04 19:50:55 -05:00
744b72858f Move common packages into another tasks file 2020-07-04 19:47:11 -05:00
166bcb59b6 Add kdepim 2020-07-04 06:22:26 -05:00
f116244b25 Rename localansible role to just ansible 2020-07-02 23:56:11 -05:00
034ce830d8 Add whois to basic package set 2020-07-02 01:16:29 -05:00
0a1a39cc4f Use variable for mc view dist 2020-07-02 00:23:17 -05:00
9a39fbb654 Zoom finally got around to adding a good simlink endpoint. Maybe they'll have a repo at some point, too 2020-07-01 23:22:25 -05:00
70bce852f9 Include rdesktop 2020-07-01 12:08:16 -05:00
042099032c Add htop to common package list
I guess that's not installed by default on 20.04
Anymore
for some reason
idk
2020-06-30 14:09:48 -05:00
efd22958a3 Ignore .backup directories that don't have anything in them 2020-06-30 07:09:29 -05:00
19908fea0b Ignore directories of users who don't have anything to back up 2020-06-30 07:08:09 -05:00
2b8cf96cfe Whups 2020-06-30 07:04:08 -05:00
0918589be6 Fix typo
Totally didn't just copy this thing
Totally
2020-06-30 06:54:45 -05:00
46f098dfb2 Slight semantic difference in tarring 2020-06-30 06:48:53 -05:00
debfc714aa Template out a backup module for desktops
Kinda primitive, but the idea is that I can just link shit into ~/.backups and it'll get backed up
2020-06-30 06:47:31 -05:00
c58b04533c Disable setting maintenance mode on Nextcloud backups
Risky move!
2020-06-30 06:28:49 -05:00
8ee2aa91ec Fix typo 2020-06-30 06:24:36 -05:00
622dcacc07 Move to backup timers instead of cronjobs, lay groundwork for backing up personal systems 2020-06-30 06:22:27 -05:00
df047fb174 Have Minecraft servers publish their own DNS records
AUTOMATE
EVERYTHING
2020-06-30 05:52:18 -05:00
ab36f2376e Become root when attempting to push changes to DNS
Kinda forgot the aws keys were in root's home folder whups
2020-06-29 11:24:27 -05:00
6ce15dcd96 Register DNS automatically for 9iron instances
This opens the door to making new CNAME entries for other services
automagically
2020-06-29 11:18:26 -05:00
997fc8b3ee Go back to Nitrogen
aaaaa
2020-06-29 10:28:18 -05:00
4eb55dca2d Fix wrong wm and lack of conky in desktop deps
ups
2020-06-29 06:18:55 -05:00
2e807d6b1b More dev scripts 2020-06-29 03:56:46 -05:00
3d11ee5a17 Add cmake 2020-06-29 03:46:26 -05:00
c291ce7f85 Install debhelper tools 2020-06-29 03:42:57 -05:00
618e0211a8 Install smartmontools
WHY THE FUCK
DOES IT WANT
TO INSTALL
POSTFIX
2020-06-28 09:06:23 -05:00
1d8ebf17dc Remove substitute tweaks
run once on all the hosts, as I already did, and you're done
2020-06-28 08:41:30 -05:00
47977063f4 Fix old substitutes, also how about we generate new fancy keys instead of old RSA ones
Also because this is clobbering my old keys help me
2020-06-28 08:36:57 -05:00
51869e069a Instead of janking read-only git bullshit, how about we actually generate some keys? 2020-06-28 08:27:46 -05:00
e898ee97b4 Remove pidgin from package list
Yeah fuck that noise
2020-06-28 07:37:03 -05:00
76e7206131 ncdu is manditory 2020-06-28 07:30:47 -05:00
172fb2a33b Install php-redis on Nextcloud
ups
2020-06-26 23:48:41 -05:00
04a538d274 Verify ownership of MC world after restore 2020-06-26 20:27:46 -05:00
cf8d063f56 Depend Minecraft on AWS creds 2020-06-26 20:26:22 -05:00
5624967fd9 Alias Matrix vhost to server name
Turns out Matrix actually sends the delegated host in the Host: field, which is probably why this fails
Interdasting
https://matrix.org/docs/spec/server_server/latest#resolving-server-names
2020-06-26 11:24:57 -05:00
7f1653d881 Stop server before recovery 2020-06-25 08:57:58 -05:00
9886ae046a Also clean up more after script end 2020-06-25 08:57:24 -05:00
6f619f2f9d Fix tar invocation 2020-06-25 08:56:43 -05:00
eef44aab43 Look in ./var for backup 2020-06-25 08:54:47 -05:00
ccdcfffcaa Force local resolution for tar
why the fuck
2020-06-25 08:51:17 -05:00
4e2732be3f Don't run the recovery script if the world exists
BIG OOPS
2020-06-25 08:50:01 -05:00
06a21f1770 ups, {{{ 2020-06-25 08:47:56 -05:00
8bdfd3936d Clean up after recoveries 2020-06-25 08:45:39 -05:00
d698f0b588 Set up a recovery script for MC servers
this shit happens to goddamn often-
2020-06-25 08:42:29 -05:00
4b9e2503d6 Bump HSTS on Nextcloud 2020-06-25 06:30:44 -05:00
68a4a21c64 Reconfigure pull timers, add defaults 2020-06-25 02:19:36 -05:00
1b618daf54 Modularize ansible-pull a bit 2020-06-25 02:16:06 -05:00
e2cee3a6fa Force move when unpacking modpack 2020-06-24 23:39:14 -05:00
5a032fe26e Redownload forge on updates
This isn't the best solution, but it works
2020-06-24 10:51:48 -05:00
847a83b209 Implement support for new naming scheme 2020-06-24 10:51:11 -05:00
2fed89bc4c Add handlers to Minecraft 2020-06-24 10:40:51 -05:00
7db2c2bbab Switch gears, use installer script 2020-06-24 10:38:24 -05:00
8e9f6a9582 Hopefully fix erroneous MultiMC pack detection 2020-06-24 10:29:58 -05:00
b044082ea1 Bump to root when stopping service
ups
2020-06-24 10:21:09 -05:00
bcf8fe1081 Stop Minecraft before knocking its feet out from under it 2020-06-24 10:19:23 -05:00
3517e71f60 Remove remnants of old pack when pushing an update 2020-06-24 10:18:09 -05:00
c8b5d97c02 Change control flow of Minecraft deployment 2020-06-24 09:33:43 -05:00
d5d6bfcf2e Unify log titles 2020-06-24 09:24:09 -05:00
ecbfdb0f4e PROPERLY qualify 2020-06-24 09:23:56 -05:00
4cdebd4b35 Properly qualify MultiMC code 2020-06-24 09:22:26 -05:00
850d0e97f8 Work on improving Minecraft deployments 2020-06-24 09:20:25 -05:00
7091be6f60 Move more vars for Gitea, polish 9iron.yml 2020-06-24 07:16:34 -05:00