Commit Graph

1032 Commits

Author SHA1 Message Date
ad4bec22f7 Cleanup 2021-02-27 08:45:57 -06:00
a326f5d35d Here have a DHCP server 2021-02-27 08:42:15 -06:00
bab051af2c Add administrative user role 2021-02-26 10:07:57 -06:00
58c4e05635 Add some QEMU stuff for docker cross-builds 2021-02-21 19:35:43 -06:00
4fc6d76c86 Add pi imager 2021-02-18 16:29:01 -06:00
3eb5b50832 Add functionality to ansible-pull for skip-tags 2021-02-17 06:06:02 -06:00
2773f537bc Add a little test bed for k8s
IT WORKS
2021-02-16 16:39:53 -06:00
dc687da6c1 REALLY disable mouse acceleration
Oh this feels nice
2021-02-16 07:45:02 -06:00
5afa095593 Fix up mouse acceleration config
Now with 100% less acceleration
2021-02-16 07:01:56 -06:00
e210e61cce Add handlers back to desktop role
*sigh*
2021-02-16 05:59:58 -06:00
fdfe16a5d3 Recursively chown Ansible user's home 2021-02-16 05:40:58 -06:00
6fdcfbae68 Set up for Docker, add my desktop 2021-02-16 05:34:31 -06:00
dba0ce1f02 Add kubectl to desktops 2021-02-15 09:58:34 -06:00
65f751792a Get rid of Netdata
Christ this thing is awful
2021-02-11 13:16:36 -06:00
1437654247 Add gitignore entry for cache
Turns out it's used for running playbooks I guess
2021-02-11 13:16:21 -06:00
dd458f1310 Update bleromer role 2021-02-08 12:29:56 -06:00
a4c24156d7 Update minecraft role 2021-02-08 11:58:53 -06:00
80bec1b2f6 Always restart pulse. Always. 2021-02-08 10:41:07 -06:00
efbbb91364 Add more packages to desktop systems 2021-02-03 23:59:11 -06:00
208f4ec836 Add tmux to all boxes 2021-02-03 01:25:42 -06:00
b1c641c9f7 Move Pleroma to a desu.ltd box
WEW
2021-01-26 04:25:27 -06:00
6ead681d5c Move fedi1 over, add Pleroma role 2021-01-25 22:19:31 -06:00
23fac2d48e Finally remove pulseaudio user services
GOD this was an annoying problem
2021-01-25 19:55:54 -06:00
1eae9d247b Bump Pulse sample rate
Probably don't need them, but now that I've got better headphones I don't want to worry about this bottleneck
2021-01-25 19:42:23 -06:00
46eb6a73d7 Make Pulse role more modular 2021-01-25 19:38:55 -06:00
7851fb89aa Update Minecraft role 2021-01-24 20:28:05 -06:00
92baa6cf62 Add stow 2021-01-23 20:40:21 -06:00
acec77ca5b Add handlers back to common role 2021-01-23 18:45:32 -06:00
7e8e9563fd Add Netdata role 2021-01-23 18:45:20 -06:00
14ea44130a Add onlyoffice and basic config
but it's BUGGY TRASH FOR FUCK'S SAKE AUGH
2021-01-20 19:25:16 -06:00
cb0ab9c59d Add stow to desktop packages 2021-01-19 01:08:02 -06:00
cf51bbd83c Add a shitty motd 2021-01-17 00:53:48 -06:00
49b156c5dc Specify service type for ansible-pull and backup 2021-01-16 23:47:29 -06:00
ca920a1f83 Fix using a service in place of a timer 2021-01-16 23:40:57 -06:00
4e6c96fabd Reduce unnecessary steps in ansible-pull and backup roles 2021-01-16 23:23:07 -06:00
abcfaea0a5 Modify ansible-pull and backup services to only run when connected to the internet 2021-01-16 23:19:28 -06:00
dc52392ebb Put backups in a folder labeled after full inventory hostname, not short
We were having conflicts with psql1.9iron.club and psql1.desu.ltd
2021-01-14 17:56:00 -06:00
db9859c40d Update Terraria role 2021-01-10 20:09:53 -06:00
682bd4f4bd Update Terraria role to be useable 2021-01-10 20:06:37 -06:00
37a5cd7d52 Add a dysfunctional terraria role 2021-01-09 22:42:36 -06:00
ec4081e972 Update Minecraft role 2021-01-09 04:02:46 -06:00
1f30710d4d Update Minecraft role 2021-01-09 00:34:41 -06:00
3867c95b13 Update Minecraft role 2021-01-01 18:26:05 -06:00
2ae954f2e8 Add a new Minecraft server
"New"
2021-01-01 00:33:02 -06:00
a17b579ffa Update Minecraft role 2021-01-01 00:10:33 -06:00
d8640bae9b Fix backups failing
WHOOPSIE
2020-12-30 18:06:13 -06:00
ed4fe73467 Add some basic shell profile configuration 2020-12-29 09:48:18 -06:00
1710d1108b Fix backup script to exclude items BEFORE the main arguments 2020-12-29 09:08:38 -06:00
a5b83e1a59 Fix incorrect expansion of array in s3backup.sh 2020-12-29 08:44:11 -06:00
1933ba21c0 Concatenate JINJA for loops, echo back ignored directories in backup script 2020-12-29 08:43:42 -06:00
eb97eb4a7a Add ability to exclude from s3backup.sh, lay out gameserver backups more nicely to respect this 2020-12-29 08:35:41 -06:00
6d3caf8a46 Update Minecraft role 2020-12-29 08:23:19 -06:00
d730598946 Move Minecraft role to its own repo 2020-12-28 12:53:00 -06:00
caf9a54358 Switch back to compton from picom
Too buggy, ech
2020-12-27 11:00:49 -06:00
bf37b4d66d Reorganize backup defaults to make a bit more sense 2020-12-24 09:43:57 -06:00
3b17b4e39c Wait no this is the commit for the new backup script 2020-12-24 09:40:58 -06:00
5cfbca0534 Actually genericize properly this time, plus add a new backup script for pgdump 2020-12-24 09:35:17 -06:00
6d9d3a4784 Revert "Genericize s3 configuration"
This reverts commit 74cd565cad.
2020-12-24 09:33:33 -06:00
74cd565cad Genericize s3 configuration 2020-12-24 09:32:08 -06:00
d353eefa2c Don't back up anything by default
ESPECIALLY not /root. Turns out that tars up the entire goddamn pip cache, which is like 500M on my laptop
2020-12-24 09:21:05 -06:00
00fb2bb32e Work on a basic implementation of backups
Still need to set up good defaults and do host-based configuration tho
2020-12-24 09:06:20 -06:00
4cbc53a687 Add Factorio serber 2020-12-21 21:19:47 -06:00
b93f95ba99 Add Minetest PPA
5.1.1 < 5.3.0
2020-12-21 03:14:27 -06:00
36c61436ed Update minecraft role 2020-12-21 01:22:24 -06:00
1e356d6436 Move handlers to global handlers 2020-12-20 05:02:17 -06:00
42dac8cecd Configure plymouth *after* installing the theme it needs 2020-12-20 04:32:04 -06:00
fc7a6529a7 Add kruler 2020-12-18 06:37:08 -06:00
105753d17a Add Pulseaudio system-wide service and role 2020-12-15 18:18:32 -06:00
123683b0d9 Update Discord 2020-12-07 20:15:31 -06:00
7abe303c98 Make ansible-pull use system-wide ansible-pull if it's available 2020-12-06 07:41:27 -06:00
011772060e Tweak make.conf 2020-12-06 07:40:21 -06:00
9f672b4eb0 Alright fine we'll use KDE applications 2020-12-05 19:25:24 -06:00
ccaadd0a3d Get more KDE apps moving 2020-12-05 08:49:44 -06:00
0c1b3deeee Move Ansible-specific package configuration into its own little files that are easier to override, add more packages 2020-12-05 08:16:09 -06:00
3259ebd573 Various fixes to portage set 2020-12-05 07:47:27 -06:00
8cca1900d7 Add USE changes for new set 2020-12-05 07:06:50 -06:00
238d0a2b18 Add ansible to portage sets 2020-12-05 07:04:03 -06:00
9a1b7d69a6 Add kdrive USE to xorg-server 2020-12-05 07:03:16 -06:00
77df2896d6 Add xorg 2020-12-05 06:55:20 -06:00
6016996574 Remove chromium
Turns out it takes FOREVER to build and is not worth it
2020-12-05 06:47:12 -06:00
74f2b82a1e s/O2/Os/g 2020-12-04 22:36:16 -06:00
8699cae9f1 Configure larger packages to try to use less memory 2020-12-04 21:32:00 -06:00
ebb5dfc6d6 Lower makeopts jobs
Running into OOMs
2020-12-04 21:11:16 -06:00
6f47952df8 Add zerotier 2020-12-04 20:28:47 -06:00
89076f2f1c Fix CPU_FLAGS_X86 2020-12-04 20:27:43 -06:00
72181dddd1 Dynamically determine CPU_FLAGS_X86 2020-12-04 19:36:13 -06:00
89cca37d10 Add htop 2020-12-04 19:35:10 -06:00
b27714c850 Add lightdm 2020-12-04 19:33:26 -06:00
9177c84213 Define CPU_FLAGS_X86 properly 2020-12-04 19:33:20 -06:00
2b822eb1a6 Tweak default emerge opts
keep-going is real nice
2020-12-04 10:15:05 -06:00
7824679f2e More Gentoo tweaking 2020-12-04 09:40:47 -06:00
775bbeff5f Correct zerotier role to be more clear about apt-centricity 2020-12-04 09:25:43 -06:00
d0d4437cdd More miscellaneous fixes to get Gentoo going 2020-12-04 09:21:08 -06:00
dff10b6aaa Assure xorg.conf.d exists 2020-12-04 09:18:26 -06:00
1b731d0825 Various tweaks to get Gentoo to work 2020-12-04 09:17:08 -06:00
21c1b1254e Prototyping a Gentoo section of the desktop role
God help me.
2020-12-04 09:07:56 -06:00
deca70a065 Add Randovania, provide Python the perms for randovania to do the do 2020-11-29 02:30:36 -06:00
e0eeb4fa5b Add Minecraft role 2020-11-20 04:09:09 -06:00
3f93c4c2d6 Ensure hosts entry for loopback address 2020-11-08 06:33:59 -06:00
cd063c93bd Finish porting desktop stuff over
Desktop and laptop will now both be running THIS branch of the repo
2020-11-08 06:10:12 -06:00
99adf1356f Add Zerotier role 2020-11-08 01:34:05 -06:00
8c7ef95aa6 Correct comments in requirements.yml
Technically those are just upstream source URLs. They DO contain docs, but the nature of ansible galaxy means that those docs are cloned here too
2020-11-08 00:58:09 -06:00
ddc5c881de Unify some homebrew roles' become methods 2020-11-08 00:05:48 -06:00
b55b061573 Add Certbot
Obviously no example play because internal hosts can't really do that
2020-11-07 23:56:30 -06:00
7ab0a230eb Add basic git repo cloning role
For websites c:
2020-11-07 22:40:15 -06:00
a660f8bb06 Simplify udev role 2020-11-07 22:28:51 -06:00
4f96ddf379 Add udev, grub roles for desktops
Lovin how light they are tho
2020-11-03 05:30:19 -06:00
11d0cad9fb Add Nextcloud
AND BOY DOES IT SMELL
2020-11-01 04:55:05 -06:00
c0a5a866c4 Rename roles 2020-10-29 21:02:02 -05:00
70c609c94a Add and set up a basic Gitea 2020-10-29 20:51:32 -05:00
e9e1936b50 Pull roles into repo
This solves my issues with ansible-pull and -galaxy along with giving me a copy of the repos in case geerlingguy's stuff goes down or I need it for offline use
2020-10-29 01:53:06 -05:00
76c99e5e6e Make our roles directory cleaner and nicer 2020-10-28 22:40:08 -05:00
92f81f8010 Move requirements to the right place 2020-10-28 22:10:43 -05:00
655d8c15b5 Configure ansible user home
Turns out we need to ensure that, I guess
2020-10-17 18:47:55 -05:00
8bbbb7c969 Add READMEs to roles 2020-10-17 01:16:10 -05:00
668fe20fac Work on more basic shit, should really squash these commits later 2020-10-17 01:11:35 -05:00
d11deec1d8 Taking a dump 2020-10-17 01:00:06 -05:00
9cc70a00e6 Working on basics 2020-10-17 00:21:57 -05:00
ad70b4aca0 Exodia, obliterate 2020-10-16 22:17:38 -05:00
e252d5addd Stop stuffing routine messages into the server 2020-10-12 22:00:51 -05:00
779c177447 Add hourly backups to paper serbers 2020-10-12 10:18:47 -05:00
58fca13b5e Revert "Do not restart a Paper server on a server.properties mod"
This reverts commit 88d64a47b2.
2020-10-12 00:03:24 -05:00
88d64a47b2 Do not restart a Paper server on a server.properties mod 2020-10-11 20:26:35 -05:00
ee316ebf10 Fix incorrect Paper systemd unit 2020-10-11 20:14:22 -05:00
abb8090c9b Add new host and enroll it in Paper
Note: currently untested, hopefully shit Just Werks
2020-10-10 22:44:17 -05:00
64a0b2b9ec Rename Minecraft role 2020-10-10 21:22:50 -05:00
f231ee45a3 Add nmap to desktops 2020-10-10 00:48:03 -05:00
2e90357bbc Don't force it 2020-10-08 20:40:48 -05:00
f408c59c02 Clone Ansible repo locally to machines 2020-10-08 20:24:09 -05:00
eb9d3b64c5 Add RGB kraken role 2020-10-04 18:10:45 -05:00
3e7fe608c5 Update tmodloader 2020-10-02 17:53:06 -05:00
6ce8a82717 Add slack signing key 2020-10-02 03:58:12 -05:00
d5d5f064cf Use Slack repos
Fuck you for making me install a package first, Slack
Had to reverse engineer this one out of the apt lists
Just list the goddamn
2020-10-02 03:39:41 -05:00
be2176abb8 Add alsa-tools-gui 2020-10-01 07:52:14 -05:00
39078538c5 Wrench Zerotier timeouts down and hopefully solve the timeout issue in general
Was having issues with it stalling shutdowns. Hopefully it was just a unit misconfig, but I've no remorse in just killing some network daemon on shutdown
2020-09-30 16:50:15 -05:00
dc67918c85 Add glances 2020-09-29 10:04:05 -05:00
8cc418411b Add nightly full backups to tmodloader 2020-09-29 05:38:39 -05:00
0cf490b562 Correct backups dir permissions 2020-09-29 05:17:30 -05:00
34ea53675f Make tmodloader backup script much more robust 2020-09-29 05:17:10 -05:00
eb70ca095f Add xephyr 2020-09-28 14:12:12 -05:00
04c07692e3 Disable my PPA 2020-09-27 16:20:41 -05:00
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