Commit Graph

437 Commits

Author SHA1 Message Date
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
4c1cf35afa Turns out mysql_query is in devel lol 2020-04-30 08:16:59 -05:00
a60dbf5062 REALLY fix syntax errors 2020-04-30 08:11:55 -05:00
e3509c0d6c Really fix syntax errors 2020-04-30 08:11:33 -05:00
72e5cbe090 Fix syntax errors 2020-04-30 08:11:03 -05:00
f68c64e467 Fix gitea user not having a shell 2020-04-30 08:10:02 -05:00
0d8f6f4a97 Use MySQL query to promote new user to admin
Because that doesn't happen by default
2020-04-30 07:56:36 -05:00
bd38470bde Disable registration by default 2020-04-30 07:38:54 -05:00
0ce93e0391 Small fixes in vhost 2020-04-30 07:38:06 -05:00
30041d16e1 Shoooould be the last thing we need to configure 2020-04-30 07:26:03 -05:00
04cc076d5c Create webroot so Apache stops complaining 2020-04-30 07:20:04 -05:00
a7f2afd43a Add default user if we're generating a DB 2020-04-30 07:07:18 -05:00
2b1ed0daf1 Revert "Add Gitea default user if and only if we don't have any users"
This reverts commit aa11c3378b.
Turns out I don't have that module, nor do I care to patch my
environment.
2020-04-30 07:05:28 -05:00
aa11c3378b Add Gitea default user if and only if we don't have any users 2020-04-30 07:03:52 -05:00
9553987cc7 Fuck it we're disabling redis
Just want this thing online
2020-04-30 06:50:43 -05:00
798cb2e57d Maybe finally fix passwordless redis 2020-04-30 06:45:13 -05:00
d4e4c53b00 Restart Gitea if service changes 2020-04-30 06:45:04 -05:00
70503185cd Configure Gitea and open up Redis 2020-04-30 06:32:19 -05:00
0e9b43438b Add the right module 2020-04-30 06:21:25 -05:00
4117fef790 Add our handler under the right name 2020-04-30 06:05:54 -05:00
90e1dbea28 Why am I trying to write to etc as git? 2020-04-30 06:01:59 -05:00
181f8835e2 Use handler so that we actually have a users table when we go to add the admin 2020-04-30 05:59:10 -05:00
35138d98e1 Actually use internal token 2020-04-30 05:53:16 -05:00