8e2d11adad
Revert SDDM 99x11-common_start workaround thing
2020-08-23 19:28:51 -05:00
a443cbb297
Fix Nextcloud backup script incorrect perms
2020-08-22 23:44:23 -05:00
e0011646a0
Only restart Ansible on failure
...
whups
2020-08-19 04:48:02 -05:00
1d623bfed1
Configure ansible-pull.service to restart on failure up to 5 times an hour
2020-08-18 10:02:13 -05:00
94e35ccbb7
Don't take a DB backup for a DB that doesn't exist, Nextcloud
2020-08-15 16:02:28 -05:00
2a1299e9e0
Move Gitea to Postgres
...
Migration is nontrivial and SUCKS DICK but whatever
2020-08-15 16:01:56 -05:00
7c506157f7
Fix setting up a Mysql db that shouldn't exist
2020-08-15 15:43:50 -05:00
31d9aac7ef
Move Nextcloud to PostgreSQL
2020-08-15 15:33:02 -05:00
af9596d9f0
Move backups to absolute time
2020-08-15 14:48:11 -05:00
3866fa159d
Fix mount not actually being a mount task
2020-08-15 05:54:22 -05:00
590741d001
Rename Gitea root directory
2020-08-15 05:51:05 -05:00
04b8738435
Add EFS support to Gitea
2020-08-15 05:47:18 -05:00
bdaaf1336f
Move Nextcloud to an EFS mount
2020-08-15 05:11:50 -05:00
c7e26795b0
Add mozc-utils-gui to packageset
...
This was installed as a recommend on 19.10 but not on 20.04 I guess
2020-08-11 05:18:38 -05:00
2ca99cac3f
Switch to OnCalendar for ansible pull setups
2020-08-11 03:51:15 -05:00
33242616ca
Use new bootstrap script
2020-08-10 23:38:08 -05:00
bab99ac0a9
Add Carson's website
2020-08-10 20:15:35 -05:00
e2b0cafa1e
Add config for touchpads
2020-08-10 19:14:20 -05:00
2557368a45
Add libinput-tools
2020-08-10 17:33:42 -05:00
48a255406f
Hey that's not a request header
2020-08-10 14:25:58 -05:00
f4f1b58b8b
Unset XFO in Gitea vhost
2020-08-10 14:19:40 -05:00
b86eee2f0b
Remove dep on apache
...
AUUGH
2020-08-10 06:43:08 -05:00
06bcbafc86
Remove Apache from desktops
...
FUCKING
WHY
2020-08-10 06:38:46 -05:00
5ed134fc66
Add vpnc and kamoso
2020-08-09 07:25:27 -05:00
0faa20d3e5
Rename a bunch of roles
2020-08-08 20:37:28 -05:00
4cf2380ac0
Add material design icons dx
2020-08-08 07:32:21 -05:00
5afa860744
Add mono-complete
2020-08-08 00:10:35 -05:00
79583b52bb
Add lemp9 key
2020-08-07 13:26:50 -05:00
1da486d07c
Add more packages to s76 installs
2020-08-07 09:16:01 -05:00
69f5c2c04f
Add block to install packages on System76 machines only
2020-08-07 09:04:34 -05:00
2964292eca
Add system76 ppa
2020-08-07 09:00:39 -05:00
1990cfc7cd
Fix wrong variables on acme template
2020-08-07 06:27:17 -05:00
aae27cd361
Make it easier to read Pleroma dirs
...
There's no private data there anyhow
2020-08-07 05:42:06 -05:00
15f0fd6dd6
Fix name of Grafana service
2020-08-07 05:11:54 -05:00
10fdd3453e
Install Grafana after deploying configs
...
This solves an issue with cloning to a nonempty directory
2020-08-07 05:05:59 -05:00
c7d3c665df
Add support for a configuration repo
2020-08-07 04:47:57 -05:00
80c9ed8f01
Restart grafana on config change
2020-08-07 04:42:05 -05:00
b38bbc7295
Add grafana restart handler
2020-08-07 04:41:30 -05:00
d8ec1fc1d3
Set Grafana configure block to be... well, a block
2020-08-07 04:35:29 -05:00
bb73e21432
Create and configure Grafana before serving over Apache
2020-08-07 04:35:04 -05:00
de9c36b4ad
Fix some errors in replacement
2020-08-02 19:59:58 -05:00
4870c67c9c
Reorganize snmpd vars
2020-08-02 19:50:13 -05:00
4ffae17255
Reorganize pleroma vars
2020-08-02 19:46:12 -05:00
12d09a58bd
Reorganize matrix and nc vars
2020-08-02 19:43:08 -05:00
7c53558f8f
Refactor grafana vars
2020-08-02 19:40:39 -05:00
75aeaca8ee
Reorganize gitea vars
2020-08-02 19:39:39 -05:00
8990cc4494
More variable refactoring
2020-08-02 19:36:46 -05:00
12fb975a2a
Reorganize acme vars
2020-08-02 19:32:07 -05:00
d4e3ee7d9a
Only try to configure our DB if it's defined
2020-08-02 08:06:38 -05:00
509f329baf
Install the right package
2020-08-01 22:17:14 -05:00
e5a073e12d
Add deps for pleroma and matrix
2020-08-01 22:13:43 -05:00
25a5270e33
Move Matrix to a dedi psql
2020-08-01 20:59:55 -05:00
3ad23b28cd
Don't use a user that shouldn't exist to build psql dbs on pleroma
2020-08-01 20:59:47 -05:00
b6efa9b1c9
Remove Nagios
2020-08-01 20:39:44 -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
de6c05ee32
Fix not actually invoking that handler when we should
2020-08-01 17:53:50 -05:00
38e1e13971
Add handlers and configs to psql
2020-08-01 17:51:44 -05:00
62c1772047
I pluralized that?
2020-08-01 17:00:25 -05:00
290b180a61
Add a DB server
2020-08-01 16:47:56 -05:00
222edec7fe
Add backups to psql dbs
2020-08-01 16:44:04 -05:00
98b210413b
Move Gmod DNS out of role
2020-08-01 16:30:39 -05:00
3abe7eb78c
Move Nagios DNS out of role
2020-08-01 16:29:21 -05:00
d358e3b64f
Move Minecraft DNS out of role
2020-08-01 16:29:01 -05:00
837da68679
Remove DNS role
2020-08-01 16:26:11 -05:00
df70073b37
Stop purging Akregator
...
I'll just deal with it. Don't feel like combing through kdepim rn
2020-07-31 18:03:12 -05:00
15041c5079
Only stop Pleroma if there's an outstanding update
...
whups
2020-07-30 09:01:32 -05:00
99f746957f
Fix perms error when restoring db backup
2020-07-30 08:45:59 -05:00
cdb7e6df7a
Fix incorrect psql statements
2020-07-30 08:41:11 -05:00
cb08c1c46b
Actually increase backup freq, fix a perms issue on new pleroma deployments
2020-07-30 08:40:39 -05:00
4b415c7c4e
Remove redis dep for splergoma
2020-07-30 08:33:14 -05:00
efb4fa5be3
Restart Pleroma after a recovery
2020-07-30 08:30:59 -05:00
f206e87f2a
Reorganize pleroma deployment, add recovery script
2020-07-30 08:28:46 -05:00
1dff25d223
Ensure we actually have an SDDM config directory
2020-07-29 07:02:23 -05:00
9950aa558b
Add sengi
...
It's kinda like tweetdeck
2020-07-29 02:30:03 -05:00
0df8537c6f
Add backup module for pleroma
2020-07-28 15:49:05 -05:00
0222a94ca4
Theme pleroma
2020-07-28 11:59:18 -05:00
ef235532c8
Use pleroma user to clone static repo
2020-07-28 11:38:49 -05:00
c5a8532042
Open up registration and set up our email
2020-07-28 11:23:25 -05:00
1fbe8cd516
Add static repo cloning for pleroma, tighten locks on config
2020-07-28 10:57:34 -05:00
54a8e4aa2d
Add Pleroma
...
GOD THAT SUCKED
FUCK
GOD I HATE ELIXR
2020-07-28 10:41:07 -05:00
d32eb1d9bc
Add postgresql-contrib
2020-07-28 08:46:45 -05:00
4e90230c43
Rework mysql role
2020-07-28 08:39:14 -05:00
9488b4541e
Add psql role
...
That was actually really easy
Love the default ident mode
2020-07-28 08:38:21 -05:00
b506fb91ab
Use full hostname when deploying Gitea keys
2020-07-28 07:42:27 -05:00
863623e3b0
Factor extended hostnames into existing roles
...
Ow, really feeling that maintainability hit
2020-07-28 06:44:33 -05:00
82b3a430f2
Add shortname to hosts
2020-07-28 06:36:04 -05:00
f23e13421c
Import variables into main inventory file
2020-07-28 06:34:38 -05:00
65f15272fc
Tag local apache task on desktops
...
For easier redeploy
2020-07-28 06:21:40 -05:00
a6cdd5314f
Cut out the middleman on DKMS
2020-07-27 14:33:31 -05:00
0dc6140189
Kinda need that template file
2020-07-27 11:58:17 -05:00
315cdb9f4a
Really fix indentation
2020-07-27 11:56:34 -05:00
e721423d65
Fix indentation
2020-07-27 11:56:13 -05:00
3d5265d996
Separate theme setup from custom theme downloading
2020-07-27 11:55:20 -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
82c407beb3
Add DKMS, install a third-party nintendo controller driver
2020-07-27 00:52:18 -05:00
b705ef78d5
Actually how about don't
2020-07-27 00:39:23 -05:00
de5aa268da
Add udev tags
2020-07-27 00:28:18 -05:00
08b1852d99
Should probably add that rules file
2020-07-27 00:28:00 -05:00
f6095f3c6a
Add switch controller udev rules
2020-07-27 00:15:09 -05:00
009804dde3
Remove another dir when cleaning stale packs
2020-07-25 22:15:09 -05:00
123c6a1a7b
Fix Minecraft backup script not handling new deployments
2020-07-25 22:14:04 -05:00
62882d4303
Add retroarch
2020-07-24 16:00:23 -05:00
e2652397a0
Little Nagios service tweak
2020-07-24 03:25:31 -05:00
703ee97e91
Add and enable snmpd
2020-07-24 03:25:23 -05:00
c6195d3def
Add Nagios
2020-07-23 23:13:16 -05:00
2183d5778e
Add Postfix-SES role for easy integration
2020-07-23 22:47:22 -05:00
8fc419e273
Remove postfix, gitlab, and some defunct templates
2020-07-23 21:37:49 -05:00
f62c6a8414
Overwrite stale records
2020-07-23 21:02:56 -05:00
eb117b650e
Add traceroute
2020-07-23 02:07:54 -05:00
6ab5ae4f49
Remove some old packages
2020-07-23 01:27:02 -05:00
d182f16494
Remove thunderbird
...
for some reason????
2020-07-22 15:57:33 -05:00
faecef6ee3
Migrate from Riot snap to Element package
2020-07-22 08:44:56 -05:00
07cb3bb56a
Add screen to basic packageset
2020-07-21 13:33:59 -05:00
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
b023bc1ea1
Move matrix vars into defaults
2020-06-24 07:15:05 -05:00
2bf650657e
Move dokuwiki vars into defaults
2020-06-24 07:12:42 -05:00
8bb24a28ca
Move NC vars into defaults, where they should be
2020-06-24 07:10:22 -05:00
f8adc3cd10
Configure backups more appropriately across servers
2020-06-23 09:52:55 -05:00
44b3b99990
Template out matrix vars a bit more nicely, make config changes
2020-06-23 09:47:48 -05:00
a26e3630f0
Work on polishout our homeserver.yaml
2020-06-23 09:40:16 -05:00
4c9e27d9a5
Make AWS S3 copy nicer
2020-06-23 08:03:16 -05:00
6f842a3464
Switch IME
2020-06-23 04:18:36 -05:00
77be60fd4d
Switch UIM plugins
2020-06-23 04:09:22 -05:00
37d9f54617
Add UIM
2020-06-23 04:07:51 -05:00
2901cd8af9
Restart Minecraft servers nightly
2020-06-22 12:07:07 -05:00
429642fe6a
Switch from STANDARD_IA to STANDARD for S3 backups
...
My retention period is actually too low for IA lol
2020-06-22 11:46:24 -05:00
c6f750d0c1
Run backups more frequently
...
Just had a DR tonight and I need more frequent backups than "nightly at 2am"
2020-06-22 11:36:31 -05:00
b36f351740
Fix using mc templates in matrix backup script
...
ups
2020-06-22 11:17:01 -05:00
2c91b8cd5d
Make matrix backups
2020-06-22 11:05:56 -05:00
05dc022adb
Enable embedding in grafana
2020-06-22 07:52:31 -05:00
13d2d6a77f
Remove erroneous notify on an include
2020-06-22 07:23:15 -05:00
eba35a0256
Set default id server for matrix
2020-06-22 07:22:40 -05:00
c620f1d80e
Remove dep on mysql for matrix
...
It's either postgres or sqlite
Take a guess
2020-06-22 06:39:15 -05:00
b0693c1ddd
notify: restart apache
...
a lot
2020-06-22 06:33:57 -05:00
23c0763fce
Fix our dumb proxy pass args lol
2020-06-22 06:31:58 -05:00
9ca53861a5
Actually proxypass properly
2020-06-22 05:34:01 -05:00
56057012b5
Fix accidentally breaking gitea lmao
2020-06-22 05:24:58 -05:00
124997992e
Really fix it
2020-06-22 05:07:25 -05:00
c92f044a7d
Fix looking for wrong config file on apache config templating
2020-06-22 05:07:11 -05:00
5f76a6d8f7
Polish up our Matrix config a bit
2020-06-22 05:03:32 -05:00
71f3269798
Fix missing quote
2020-06-22 04:44:14 -05:00
89c2025dcc
More work on Matrix deployment, configure apache on 8448
2020-06-22 04:43:05 -05:00
50321bd2a2
Fix typo
2020-06-22 04:28:38 -05:00
1bcd748484
Also restart synapse
...
forgot about that
2020-06-22 04:10:32 -05:00
3b785e47b5
Generate turn secrets
2020-06-22 04:09:24 -05:00
e766baf63d
Generate secrets for Matrix
2020-06-22 04:08:03 -05:00
46e0dff885
Fix an actual okay error where Synapse uses double curly braces in its config
2020-06-21 11:35:16 -05:00
f35e8f9eca
I DIDN'T CHANGE THE SOURCE EXTENSIONS
2020-06-21 11:28:11 -05:00
24f79bc4ab
They're really called fucking .yaml? Really?
2020-06-21 11:23:40 -05:00
a20efc3ca2
Fix wrong variables in loop
...
am good sysadmin
2020-06-21 11:17:52 -05:00
d15e44c7ea
Move notify on templating configs
2020-06-21 11:12:38 -05:00
cec71cd2ad
Fix typo
2020-06-21 11:05:01 -05:00
f8bf755f4f
Working on more fedi stuff
2020-06-21 10:58:56 -05:00
d457ebf213
Separate out our proxy from our frontend
2020-06-21 10:50:59 -05:00
aed52c16a0
Working on more Matrix stuffs, adding creds for SES
2020-06-21 10:46:49 -05:00
73d1ebd9a2
Less clobber when grabbing certs
...
I bet you know where this is going
You probably don't
It's for host delegation
2020-06-21 10:24:05 -05:00
b839015b28
Add part of a matrix setup
2020-06-21 10:22:01 -05:00
bb59382d4c
Remove pull tag
...
Fuck it, we're doing it all
2020-06-17 09:34:13 -05:00
33f5af534e
Tag certain roles for pull remediation
2020-06-17 09:29:24 -05:00
62ea91fc7f
Remove all references to ansiblehost
2020-06-17 09:26:13 -05:00
531b2e19dc
Use proper hostname source when templating hosts
...
Because we turn around and invalidate nodename like immediately
2020-06-17 09:24:34 -05:00
71cfb5c2be
Remove timebomb
...
grep -r -e 'here we go again'
2020-06-17 09:19:53 -05:00
3d91b4d752
Configure hostnames
...
oh boy here we go
2020-06-17 09:16:08 -05:00
8ea69fd3b4
Declare proper deps on ansible-pull role
2020-06-17 09:07:28 -05:00
c69954eeb5
Absolute our binary for ansible-pull timer
...
Because I guess we need to do that on 18.04
2020-06-17 09:04:20 -05:00
79102c5d0c
More tweaking on that front
2020-06-17 09:03:47 -05:00
27e6cadb9a
Work on switching to ansible in pull mode
2020-06-17 08:52:28 -05:00
7344050dde
Fix reloading influxdb as normal user
...
derp
2020-06-16 10:09:16 -05:00
1ac644d8d1
Fix closing quote, rename sudoers config
2020-06-16 10:08:12 -05:00
8f15bf4f2b
Make some tweaks, actually add our Ansible user
2020-06-16 10:04:54 -05:00
fe7b962ad7
Create mopidy config directory if it doesn't exist
2020-06-16 09:53:01 -05:00
ed9298fae4
Add zerotier roles to 9iron servers
...
I'm going to regret this, I know it
2020-06-16 09:48:07 -05:00
fa6b01b782
Add SSHD config for desktops
2020-06-16 09:42:27 -05:00
c1ad0bb498
Perms whups
2020-06-16 09:36:36 -05:00
6d05dc50d9
Add openssh server to default package list
2020-06-16 09:35:47 -05:00
f0a61e9538
Reorganize inventory, add ansible system user
...
Who is only used on my desktop hosts, obviously
2020-06-16 09:34:55 -05:00
f9826d2e9f
Stop saying changed when I assert i386 arch
2020-06-16 09:18:14 -05:00
d3feeebb46
Stop trying to disable a news service that doesn't need disabling
2020-06-16 09:17:53 -05:00
afa7c651a8
Stop trying to configure zerotier in the wrong place
2020-06-16 09:15:48 -05:00
37a85f625f
Move zerotier into its own role
2020-06-16 09:14:33 -05:00
e0169f8915
Add Zerotier to the list of things to do for desktops
2020-06-16 08:58:38 -05:00
59df24dc13
Add barrier
...
Sliiiiiiick
2020-06-16 08:50:26 -05:00
b8624e069f
Set Mopidy volume to a much, much more reasonable level
2020-06-15 09:55:29 -05:00
1dae60f120
Actually use those spotify vars god dammit
2020-06-15 09:00:10 -05:00
4de750c106
Actually allow Mopidy to serve on an MPD socket
...
ups
2020-06-15 08:59:28 -05:00
160fa41d1a
Make secrets less executable
2020-06-15 08:58:03 -05:00
a157988506
Make secrets secret
2020-06-15 08:56:20 -05:00
6db1c680fa
Add mopidy to desktop role
2020-06-15 08:55:51 -05:00
f9a8c86b9c
Separate package installation into its own task file, install mopidy stuff
2020-06-15 08:41:26 -05:00
e2d73a8427
Disable mopidy.service
2020-06-15 08:25:07 -05:00
90800438d7
Switch out MPD for Mopidy
2020-06-15 08:20:09 -05:00
7789127491
Remove Spotify adblock aliases
...
Well shit.
2020-06-15 08:13:13 -05:00
384c27b017
Install Spotify
2020-06-15 07:58:27 -05:00
8860638c87
Supress more AWS stuff
2020-06-09 05:16:22 -05:00
231c704bd6
Supress errors when pushing to S3
2020-06-09 05:14:47 -05:00
73302047a4
Fix mode on authentication token
2020-06-09 01:31:45 -05:00
c3fd867197
Fix Adam deployment
2020-06-09 01:29:20 -05:00
7a1a4dfaf9
libopus0
...
god dammit
2020-06-09 01:19:04 -05:00
dd53ee6226
Install npm on desktops
2020-06-09 01:18:18 -05:00
65e0fed3d3
Install libopus to get adam to stop complaining
2020-06-09 01:18:02 -05:00
4316ca2e86
Oops. That needs to be a dir
2020-06-09 01:14:57 -05:00
910018e3d5
Add Adam to our server configuration
2020-06-09 01:13:19 -05:00
7793693483
Declare dependency for backup role
2020-06-08 20:23:34 -05:00
63c7af0016
Move AWS credentials to their own directory
2020-06-08 20:15:22 -05:00
7406d30191
Add backups for Minecraft instances
2020-06-08 20:10:58 -05:00
2175fe8ada
Exclude logfiles in backup script
2020-06-08 08:49:39 -05:00
58d39a3f51
Do the same for Doku
2020-06-08 08:47:57 -05:00
61175feabd
Actually wait let's use the URL
2020-06-08 08:47:13 -05:00
763f1d0209
Add nc- to the beginning of NC backups
2020-06-08 08:45:55 -05:00
e59ecf33ea
Add AWS backups bucket
...
Joining the big boy club oh yeah
2020-06-08 08:45:17 -05:00
19bca26d1b
Add aws-cli
2020-06-08 08:20:36 -05:00
252ff7ecf9
Fix Nextcloud not purging old backups
...
So THAT'S where all my space was going
2020-06-07 02:12:54 -05:00
2b52985e7f
Add chromedriver
2020-06-06 07:22:41 -05:00
e6cef1d8fb
Merge branch 'master' of git.9iron.club:salt/ansible
2020-06-05 08:04:21 -05:00
b1f75519ad
Add terraria servers
2020-06-05 08:04:11 -05:00
f8a503ac41
Add qt5ct
2020-06-05 05:38:36 -05:00
3dc0af70d7
Disable outdated TLS versions
...
hopefully this fixes git
2020-06-04 19:35:59 -05:00
fa963a3adb
Remove old apache2 vhosts
2020-06-04 19:14:24 -05:00
d7f34587be
Roll out new cipher suites
2020-06-03 06:07:11 -05:00
8a6a53ff6e
Add Minecraft serbers
2020-06-01 21:56:39 -05:00
0241a1db36
Template out systemd unit for minecraft servers
2020-06-01 21:28:09 -05:00
ac92512088
Add tree
2020-06-01 05:46:21 -05:00
9b101949d2
Minor fix in user playbook task
2020-06-01 04:55:40 -05:00
c7d674a9b0
Modularize user role, fix indentation with ansible vault secrets
2020-06-01 04:54:38 -05:00
d246ce2519
Update Gitea
2020-06-01 01:49:04 -05:00
af06462040
Restart Gitea after update
2020-06-01 01:47:25 -05:00
2f499b11b3
Add hsetroot
2020-06-01 00:49:19 -05:00
8f8c572d6d
Add inkscape
2020-05-31 20:40:23 -05:00
8a1c6f167b
Disable motd-news service
2020-05-31 20:31:58 -05:00
cb2763e361
Enable Syncthing on desktop machines as a systemd unit
2020-05-31 20:29:38 -05:00
13bd8547ff
Add xbacklight
2020-05-31 17:34:35 -05:00
1e1c831124
Add pavucontrol-qt
2020-05-31 17:33:59 -05:00
d3b51bd56a
Revert "Add dex"
...
This reverts commit eddfdcdf20
.
2020-05-30 06:30:36 -05:00
eddfdcdf20
Add dex
2020-05-30 06:14:49 -05:00
c269582b2e
Add pixelorama
2020-05-29 17:50:58 -05:00
3848e0f476
Add krita
2020-05-29 17:39:04 -05:00
dc3b476127
Add imagemagick
2020-05-28 22:42:40 -05:00
1922f75d16
Install more desktop packages
2020-05-28 21:52:53 -05:00
ea8d0764f2
Update Zoom
2020-05-26 23:40:18 -05:00
70ac8cecb1
Point ansiblehost to new config
2020-05-26 12:48:09 -05:00
db9a8d00e0
Tinker with gitea configs, enable open registration
2020-05-26 12:27:49 -05:00
6dad2e4383
Rename screens for terraria servers
2020-05-26 11:25:27 -05:00
75e14bc4e0
Add monodevelop, fix terraria backups growing eternally
2020-05-26 11:19:54 -05:00
16225dff8f
Install papirus
2020-05-24 23:45:29 -05:00
63d64cd8fc
Add startx session to desktop role
2020-05-24 23:24:00 -05:00
7fc422e571
Fix checking focal for wrong task
2020-05-24 23:05:45 -05:00
2f05c3d3e8
Install rice packages
2020-05-24 23:05:12 -05:00
46d5d6df79
Reorganize desktop package set
2020-05-24 23:03:15 -05:00
6585879256
Add speed ricer repo
2020-05-24 23:00:09 -05:00
8869526324
Update terraria
2020-05-23 15:30:06 -05:00
e64d318442
Fix playbook for pull-and-run cronjob
2020-05-20 12:59:33 -05:00
3bcd3a94c9
Fix ansiblehost playbook
2020-05-20 11:10:35 -05:00
b7be09de34
Fix perms on output directory in backup script
2020-05-19 12:20:24 -05:00
54f19e0619
Quote variables correctly
...
god dammit
2020-05-19 12:19:21 -05:00
810fccfce2
Add log function to backup script:
2020-05-19 12:14:27 -05:00
c8409a00f4
Fix perms on output directory
2020-05-19 12:12:51 -05:00
8379e2051e
Lower backup interval
2020-05-19 12:10:13 -05:00
8e12cb19b2
Fix perms on backup script
2020-05-19 12:06:56 -05:00
3f15994c22
Fix cronjob syntax
2020-05-19 12:05:03 -05:00
8e1d9f6c14
Ooops, gotta become root for that
2020-05-19 12:03:32 -05:00
a94d872e79
Add backups for terraria servers
2020-05-19 12:02:30 -05:00
bdbf542083
Remove security on terraria servers
...
Liquid spam lmao
2020-05-18 20:21:59 -05:00
818b717a5d
Remove sonata
2020-05-17 17:43:03 -05:00
bea5a72284
Bump terraria version
2020-05-16 19:48:39 -05:00
efa6a69fad
Turns out that bug is actually due to an undefined difficulty, I guess
2020-05-16 17:43:11 -05:00
24a0c37427
Revert "Remove colon from terraria configs"
...
This reverts commit 0eb1cd1924
.
2020-05-16 17:42:05 -05:00
f8b42e18f9
Actually fix the crashy bug? Maybe?
2020-05-16 17:41:07 -05:00
0eb1cd1924
Remove colon from terraria configs
...
This is a bug, turns out
2020-05-16 17:34:51 -05:00
44c5ca6ccd
Fix erroneous world names for terraria servers
2020-05-16 17:08:33 -05:00
ab57cc6c4c
Fix erroneous default difficulty
2020-05-16 17:04:00 -05:00
d53c5bc12c
Add and sadly hardcode our terraria servers
2020-05-16 10:25:06 -05:00
bbc1093d5d
Actually use our config file
2020-05-15 11:11:51 -05:00
b5970881ee
Fix more ownership
2020-05-15 11:04:34 -05:00
3e6af36e93
Fix ownership
2020-05-15 11:00:45 -05:00
4d489e33f3
Hopefully fix inaccurate globbing
...
Or lack thereof
2020-05-15 10:58:58 -05:00
f9874ec05b
Fix server move operation, mark binary as executable
2020-05-15 10:57:28 -05:00
f9ae17b34d
Clean up after terraria server deployment
2020-05-15 10:55:39 -05:00
6e1bf6a467
Polish up that Terraria role some more
2020-05-15 10:49:42 -05:00
c514fb4183
Fix using a group that doesn't exist
2020-05-15 10:40:14 -05:00
a2a3b10ac9
Add a Terraria role
...
Time to blow shit up
2020-05-15 10:11:32 -05:00
9662013bed
Fix up postfix a bit more, make it a general role
2020-05-12 12:58:03 -05:00
880920e647
Don't always reload udev ffs
2020-05-12 08:26:12 -05:00
201bca1cbc
Switch up the IM client show with Pidgin
2020-05-12 08:22:21 -05:00
e4f47efed0
Add Nheko and Zim to desktop app list
2020-05-12 08:05:54 -05:00
b6cef0e28e
Fix timezonectl dying
...
I'm retarded
2020-05-10 08:22:50 -05:00
ecee3ed4f8
Fix up our common playbook with cron handlers n stuff
2020-05-10 08:22:02 -05:00
4dec3a081f
Change everything to CDT
...
Oh boy can't wait for this to fuck all my cronjobs
2020-05-10 08:15:09 -05:00
1411b414c9
Flesh out influxdb service some more
2020-05-10 04:18:21 -05:00
3d0b1c2b29
Fix wrong package name
2020-05-10 04:03:30 -05:00
21fa73cb22
Add influxdb to every box
2020-05-10 04:03:26 -05:00
0b55d4689e
Add deps to Grafana role
2020-05-10 03:48:04 -05:00
c646e926e2
Install Netstat on all the boxen
2020-05-10 03:47:29 -05:00
cc814b3cb6
Add Grafana
...
WEW No fires
2020-05-10 03:30:19 -05:00
781f8f584f
Add Clonezilla
2020-05-10 01:04:43 -05:00
d094d7b31c
Lower retention period for NC backups
2020-05-10 00:39:51 -05:00
c56698bac8
Install Wine on desktops, alongside binfmt support
2020-05-08 22:49:33 -05:00
bb60d875be
Add push creation configs for gitea
2020-05-08 02:11:34 -05:00
2d5895c76e
Really for real fix exclude glob
2020-05-06 23:24:10 -05:00
ebfa2e4b92
Fix perms on config.php
...
This is what NC sets it to every time I change it lol
2020-05-06 23:22:35 -05:00
f337532435
Fix order of tar args in NC backup script
2020-05-06 23:21:54 -05:00
3a33549174
Fix Nextcloud multipart backups being only slightly rotated
2020-05-06 09:46:45 -05:00
c3fa85aacb
Fix looking for the wrong kinda backups in dokuwiki backup script
2020-05-06 09:43:12 -05:00
7646396dac
Fix order of arguments for tar
2020-05-06 07:38:00 -05:00
4c829bf782
Exclude users' trash directories when making a NC backup
2020-05-06 03:27:53 -05:00
4a7a5f4645
Add default variables for backups role
2020-05-06 02:25:21 -05:00
54d3aadb14
Improve Nextcloud backup script by removing redundant trap and recursing through symlinks for userdata
2020-05-06 02:12:17 -05:00
755249febf
Move backups to using symlinks instead of hard directories
...
This should make reconfiguring backup outputs leagues easier
2020-05-06 02:10:26 -05:00
78e510211f
Fix typo in nc backup script
2020-05-06 02:03:23 -05:00
c5574e4924
Also add a file for that udev thing I changed earlier
2020-05-06 02:01:47 -05:00
4c54833b7e
Actually add that file
2020-05-06 02:01:30 -05:00
f5acd6014d
Add backup script for Nextcloud
2020-05-06 01:59:17 -05:00
9da55f236c
Assert more specific permissions with Nextcloud
2020-05-06 00:31:49 -05:00
7753453caa
Only reload udev if we assigned new rules
...
Having my mouse flip out at midnight was getting old
2020-05-06 00:02:39 -05:00
f285096a5c
Fix modules clobbering each other on deploy
2020-05-03 06:58:09 -05:00
07c486efca
Colon
2020-05-03 06:54:03 -05:00
d61ea20b5a
Fix indentation on dokuwiki task main.yml
...
Buggin the shit outta me man
2020-05-03 06:51:52 -05:00
52e1001cc9
Add backups for dokuwiki
2020-05-03 06:51:31 -05:00
951ca51572
Use URL for backup directory
...
In theory this should allow for concurrent Gitea installations with non-trampling backups
2020-05-03 06:49:23 -05:00
737ad8dec8
Rename backup script to be more self-descriptive
2020-05-03 06:47:52 -05:00
a9b6c9a88b
Actually remove that last backup
2020-05-03 06:42:12 -05:00
85a3da7b6c
Add backup module to Gitea
2020-05-03 06:37:58 -05:00
ed04787e9b
Check for backups dir AFTER we might've changed it
2020-05-03 06:09:10 -05:00
2769a78198
Source a backuprc if we have it to allow for site-local backup storage changes
2020-05-03 06:08:36 -05:00
6440710a3e
Hardcode backups directories
...
Unless I make these playbook-wide variables, there's no real way to configure them at runtime. Best to just hardcode them, I suppose
2020-05-03 05:48:01 -05:00
f9ad4801c5
Log to the backups directory
2020-05-03 03:08:13 -05:00
86ab23bd07
Add an untested barebones backup script wrapper
2020-05-03 03:06:16 -05:00
26a83ae2ab
Add joy2key and joystick
2020-05-02 10:21:44 -05:00
ef516aca30
Or I guess we just need an operator, whatever
2020-05-02 05:58:15 -05:00
44ac75ba88
Fix unquoted string literal
2020-05-02 05:57:04 -05:00
433ebb900f
Install Piper on focal
2020-05-02 05:55:40 -05:00
fb941e4297
Don't install ricing packages that don't exist
2020-05-02 05:13:16 -05:00
006f8759fe
Give less of a shit about which version of PHP we install on our desktop
2020-05-02 05:00:31 -05:00
533406d69a
Remove pip2
...
Kinda never needed it anyway
2020-05-02 04:54:14 -05:00
8b58b1fe24
Install Zoom
...
[shudders]
2020-05-02 04:24:23 -05:00
d43a91c04c
Remove some unwanted applications on desktop role
2020-05-02 04:18:47 -05:00
770a6a1258
Turn off password requirements
2020-05-01 14:59:10 -05:00
18d4ea0b09
Clean up our Gitea role a little bit
2020-05-01 14:01:53 -05:00
add7926db5
Update links across the board to point to git.9iron
2020-04-30 13:26:16 -05:00
988246ac66
Fix not including tasks to add user
2020-04-30 13:08:15 -05:00
30bed76efe
Fix keeping a ton of json in key variables
2020-04-30 12:44:26 -05:00
67f636129c
Rewrite app.ini based on pregenerated one
...
The one on the wiki is ass and misses a couple keys that HAVE to be generated
This fixes me not being able to upload with SSH
2020-04-30 12:33:04 -05:00
75f5e0c46c
Fix botched quotes in MySQL query
2020-04-30 12:08:21 -05:00
21d3d8c410
Move add user task to an import_tasks task so that we can actually notify it, use systemd daemon reloads in a copuple places
2020-04-30 11:54:27 -05:00
ab51654a1b
Gotta rice those repos boys
2020-04-30 11:33:36 -05:00
b491397580
Enable creating repos through push
2020-04-30 10:57:58 -05:00
e4eabcb32e
Enable cache, correct deployment profile
2020-04-30 10:47:55 -05:00
347db1aba4
Correct ROOT_URL for Gitea
2020-04-30 09:28:49 -05:00
a1d8a578b6
Fix Gitea always being on localhost instead of its own fucking domain
2020-04-30 08:40:04 -05:00
f4568e7e49
Remove pymysql
...
Keeps getting auth errors because it's bad or whatever
2020-04-30 08:32:14 -05:00
2d9dd4a9a7
Simplify root password assignment for MySQL
2020-04-30 08:29:24 -05:00