Commit Graph

891 Commits

Author SHA1 Message Date
2e068434b4 Add my personal PPA 2020-09-27 14:36:56 -05:00
74b1702d32 Add Vagrant 2020-09-27 09:54:11 -05:00
fbaf899f76 Switch to Picom
It's in speed-ricer
2020-09-27 08:06:30 -05:00
3f2932346d Install Syncthing through third-party repo
See https://bugs.launchpad.net/ubuntu/+source/syncthing/+bug/1847018
2020-09-25 21:42:09 -05:00
ded82bda0b Add kernel building packages 2020-09-25 01:57:51 -05:00
89b6e30bdb Merge branch 'master' of git.9iron.club:salt/ansible 2020-09-25 01:56:42 -05:00
8dbfd5ddaa Add new ansible package
Gah the 2.10 upgrade sucked
2020-09-23 20:39:26 -05:00
75e152b5bf Add some redundancy to 9iron backups 2020-09-23 20:37:03 -05:00
27d8b9f88b Add fancy templating to Nextcloud backups
Because I, regrettably, do not have backups for the past like month because data got huge
2020-09-22 17:14:16 -05:00
c054cbec87 Gitea does NOT need mysql 2020-09-22 16:45:51 -05:00
9b2f928850 Gitea no longer depends on mysql either 2020-09-22 16:39:23 -05:00
ab3db510ab Migrate Grafana to postgres 2020-09-22 16:37:58 -05:00
cccae82c04 Annotate more things 2020-09-22 15:18:57 -05:00
6ef6d551b6 Annotate all the things 2020-09-22 15:16:38 -05:00
6234276ac4 Remove Sengi, remove snap stanza in desktop packages
GOOBIE
BLOAT GOBLIN
2020-09-22 15:05:56 -05:00
d51662ca69 Make package installation on desktop more lenient 2020-09-20 11:12:41 -05:00
499fd26efa Move regen initramfs handler to desktop-common 2020-09-19 07:34:57 -05:00
ebddc71f6f Add recommended Nextcloud packages 2020-09-18 03:56:47 -05:00
e902e0b9d5 Install Discord via deb 2020-09-16 22:33:41 -05:00
481a723402 Merge branch 'master' of git.9iron.club:salt/ansible 2020-09-16 14:34:51 -05:00
4db77277e1 Remove erroneous slack-desktop entry in packages.yml 2020-09-16 14:34:37 -05:00
20f0cd02e2 Merge branch 'master' of git.9iron.club:salt/ansible 2020-09-16 14:32:00 -05:00
8aa0027bfa Add new pulseaudio role
It's like system mode but not
2020-09-16 14:28:02 -05:00
c351c32c05 Switch to Spotify through deb
I dunno what I broke but I broke it and I don't have these issues with the deb so whatever
2020-09-16 13:59:31 -05:00
acc12fbaa0 Add basic motd to all machines 2020-09-16 13:36:11 -05:00
2a43b55cdd Hey I need the default pulse configs whoops 2020-09-16 12:47:40 -05:00
054405e8e1 Install Slack via apt instead of snap
Not only does this afford me more control but it gets me easier logging
2020-09-16 12:29:14 -05:00
f2013a8ef0 Add pulse configs 2020-09-16 11:54:48 -05:00
8eca6d6f76 Update tml 2020-09-12 21:48:26 -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
2d80d7f267 Perform pleroma upgrades AS the pleroma user 2020-09-09 02:02:30 -05:00
cfbb6d325d Add powertop to phone 2020-09-04 17:49:22 -05:00
ab7dff679e Add basic phone role
IT'S HABBENING :DDDDD
2020-09-04 09:08:00 -05:00
9b332e2e1b Remove remove legacy cronjob 2020-09-04 07:44:54 -05:00
fcd64b1eb1 Fix typo in base-user 2020-09-04 07:05:54 -05:00
d43e0b8426 How about we just get rid of unattended-upgrades instead of disabling it? 2020-09-04 06:55:10 -05:00
d73ce5cbd8 Check for distro family, not distro specifically
A lot of these Just Werk on Debian
2020-09-04 06:16:30 -05:00
0f04972209 Add pmbootstrap 2020-09-03 18:31:08 -05:00
4550f1bb04 APPEND the group, APPEND IT 2020-09-02 22:49:46 -05:00
848d07f70f Don't try to add user to sudo unconditionally 2020-09-02 22:24:44 -05:00
8cc22ac56f Add user to sudo or wheel 2020-09-02 22:21:07 -05:00
4178990345 Fix erroneous OS condition check 2020-09-02 22:12:47 -05:00
02f06efdcd Add acl tool
Ran into that dumb bug again
2020-09-02 22:09:47 -05:00
e87d3b0f35 Add more package to ansible role on Alpine 2020-09-02 22:04:17 -05:00
4b543de41e Qualify some more ansible and ansible-puull related stuff 2020-09-02 22:01:31 -05:00
af1d6d7905 Assign Ansible user a group based on distro 2020-09-02 21:57:46 -05:00
08f7947d4d More restrictive tasks 2020-09-02 21:54:33 -05:00
edfd755ebd Actually we'll add a special case for PMOS/Alpine 2020-09-02 18:44:58 -05:00
2b81b85ccb Make hostname module condition more clear 2020-09-02 18:42:11 -05:00
1633a0bc3e Apparently this breaks on PMOS 2020-09-02 18:40:25 -05:00
86ada4aa3d Update and upgrade apk packages 2020-09-02 18:15:57 -05:00
cfcf91a010 Qualify most of common by distro 2020-09-02 18:12:10 -05:00
e09604540d Add role for phone 2020-09-02 17:41:21 -05:00
f840d432be Add phone key to all systems 2020-09-02 17:11:30 -05:00
645a930d64 Merge branch 'master' of git.9iron.club:salt/ansible 2020-08-31 21:03:04 -05:00
af2dc2332d Have telegraf monitor systemd units 2020-08-31 21:02:12 -05:00
15e61e8612 Remove influxdb-client
This is installed by the new influxdb package
2020-08-31 01:54:18 -05:00
535d1b4929 Make sure services are enabled and started 2020-08-31 01:46:48 -05:00
1982326553 Move telegraf to its own role 2020-08-30 19:35:18 -05:00
b26fb5d741 Have Matrix install for the right distro by default 2020-08-28 17:07:14 -05:00
c7b0cc7892 Correct package name on Pleroma 2020-08-28 16:21:33 -05:00
560f4c8e5f Add apt-file to basic utils 2020-08-28 16:15:07 -05:00
ddd8195e17 Set up email for Grafana 2020-08-25 13:21:04 -05:00
ed64d3a005 Set GRUB_RECORDFAIL_TIMEOUT
https://ubuntuforums.org/showthread.php?t=2412153
Apparently this only happens on systems that have:
* UEFI on
* LVM
* Exactly one OS
For some reason, generator scripts will FORCE GRUB to bail to menu with a 30 second fucking timeout in this case
This is like the number one install method, too. What the fuck.
2020-08-25 03:28:04 -05:00
76ea3ce514 Work on GRUB configs 2020-08-25 03:11:23 -05:00
a872a62bca Work on Plymouth 2020-08-25 03:05:11 -05:00
0b3d783c1f Add GRUB configs 2020-08-25 02:32:04 -05:00
c0f4f6fcb7 Also actually remove them remove them 2020-08-25 02:25:16 -05:00
2a27495652 Remove legacy sessions 2020-08-25 02:24:57 -05:00
83ce4d9e91 Update tes3mp configs 2020-08-24 00:59:54 -05:00
d23c052403 Update config.lua 2020-08-24 00:16:52 -05:00
2e6690450f Template out config.lua, too 2020-08-24 00:10:57 -05:00
1b7961546e Put configs in the right place 2020-08-23 23:52:46 -05:00
4f0e6f22d8 Fix incorrect unit binary path 2020-08-23 23:40:24 -05:00
f1b08ee635 Restart tes3mp on unit change 2020-08-23 23:39:01 -05:00
968255ab76 Add packages, simplify systemd unit 2020-08-23 23:38:01 -05:00
5c32a14c19 Do configuration as tes3mp user 2020-08-23 23:36:20 -05:00
85ecd8fa68 Add TES3MP server 2020-08-23 23:12:39 -05:00
dccb7419ac Merge branch 'master' of git.9iron.club:salt/ansible 2020-08-23 22:41:20 -05:00
75eb36d084 Add Adam packages 2020-08-23 22:41:13 -05:00
079eb24de1 Pleroma: Enable in-db configs 2020-08-23 20:25:47 -05:00
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