Commit Graph

997 Commits

Author SHA1 Message Date
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
d270baed62 Make backups local to hosts
This actually allows for host-specific changes
2020-05-06 02:18:52 -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
9d35fcac96 Add README
It's trash
2020-05-02 05:15:44 -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
47697494be Deploy Minecraft after core services 2020-05-01 14:17:28 -05:00
11e382c6a6 Ensure we deploy Gitea before anything else
Would be kind of embarassing if a later role got caught because it tried to access a git repo that didn't exist
2020-05-01 14:10:12 -05:00
3dab9e3929 Move Gitea to our main instance 2020-05-01 14:01:58 -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