Commit Graph

1040 Commits

Author SHA1 Message Date
75fc5f2606 Revert "Revert back to old inventory script for Nagios"
This reverts commit cb19d38cbf.
2022-03-04 21:24:00 -06:00
cb19d38cbf Revert back to old inventory script for Nagios
Because the new script suffers intermittent failures when combined with nb_inventory... I guess
2022-03-04 13:11:29 -06:00
e1138ebaad Check to ensure vars.tags is defined in Nagios template 2022-02-28 15:22:38 -06:00
295927e1ab Rework Nagios inventory template
This new template, instead of querying out Netbox direct, assumes you run the nb_inventory plugin and pulls all of its service configuration from there.

Also config context service checks are no longer a thing; formalize your shit.
2022-02-23 21:03:19 -06:00
0bfcd5ea2b Have Nagios ignore decom hosts
For HOSTS, mind. Services are still gonna need some love
Might honestly just have this operate off of host vars instead, lower the number of lookups, yaknow?
2022-02-23 16:44:42 -06:00
87f1058439 Update Discord 2022-02-22 12:03:08 -06:00
86caa2c791 Revert "Add python-netaddr to common packages"
This reverts commit 695bbb9718.
2022-02-15 15:46:27 -06:00
3dfd06cbdb Disable a ton of fact gathering -- I anticipate this will fail at CI 2022-02-15 15:19:34 -06:00
695bbb9718 Add python-netaddr to common packages 2022-02-15 13:08:42 -06:00
2efa431265 Add python3-netaddr to common tasks 2022-02-13 12:25:38 -06:00
3810b96a38 Rework Zerotier role to allow for arbitrary adds and deletes 2022-01-23 17:17:43 -06:00
1a4f59b71a Add a new laptop, rebase zerotier repo 2022-01-21 16:55:10 -06:00
4340068d0a Add gzip compression to ingress containers 2022-01-13 13:19:06 -06:00
0140784111 Add hostgroup for device types 2022-01-10 23:54:03 -06:00
8517e842b2 Add checks for the R720's thermal monitors, also add those thermal monitors 2022-01-10 22:14:07 -06:00
2fb779c122 Add Monero stuff to flatpak install task 2022-01-05 17:42:33 -06:00
c59781b47e Define a timeperiod for Nagios and assign it to our matrix notify user 2022-01-04 18:00:55 -06:00
fa002aec6c Make Nagios less touchy about service checks 2022-01-04 17:33:34 -06:00
f1baa73977 Bump the retry_interval on Nagios hosts
I keep getting false alarms for downed boxes
2022-01-03 17:49:09 -06:00
8612eec85e Create an Ansible contactgroup in Nagios and tie it to all alerts, enroll our Matrix user in that group 2021-12-24 16:56:06 -06:00
1791c40465 Working on Matrix integration for Nagios 2021-12-24 16:47:21 -06:00
e7c98ed5cc Rebase Nagios on somebody else's container
Dude's pretty chill and I trust his work
2021-12-24 15:44:21 -06:00
aa493348d3 Add another Minecraft server and some related checks 2021-12-24 14:53:09 -06:00
ec9c51b34a Lower frequency of checks on Nagios
As it turns out, just checking things over SSH requires an enormous amount of network throughput and CPU usage
2021-12-18 08:20:24 -06:00
fcffd834a0 Move Nagios into its own role
It was getting way too big
2021-12-08 21:34:32 -06:00
cc11a6c376 Update Spotify apt pubkey 2021-11-30 19:46:02 -06:00
d4a25acaeb Install qemu-guest-agent on everything
Ya never know
2021-11-08 11:53:36 -06:00
95fdef3c83 Ensure all machines have atd 2021-11-07 08:36:53 -06:00
cec0a5c3f8 Add Ardour to desktops 2021-10-25 19:37:40 -05:00
47a4c09b5a Add ffmpegthumbs to desktop recipe 2021-10-14 12:02:53 -05:00
93c1902127 Purge on autoremoves 2021-10-05 10:32:49 -05:00
a227cb8b48 Add autoclean to common package operations 2021-10-05 10:28:12 -05:00
51737a53dc Revert "Add handles to ingress role"
This reverts commit 0586eb5ce9.
2021-10-02 21:48:37 -05:00
0586eb5ce9 Add handles to ingress role 2021-10-02 21:42:27 -05:00
cfba2ec859 Add option to change where conf.d gets mounted on ingress
Whups
2021-09-27 15:19:18 -05:00
fbc9b06b76 Remove error suppression for desktop role 2021-09-24 21:08:34 -05:00
3218b38f88 Fix deps for ansible-pull not being a list 2021-09-24 21:02:02 -05:00
7779db30ad Use ansible_managed where possible 2021-09-24 20:48:41 -05:00
41d9157971 Separate Ansible installation out into its own role 2021-09-24 12:57:31 -05:00
5f997b1c09 Remove dolphin-emu-master from workstations 2021-09-23 21:34:53 -05:00
aa98612d6c Rework data structures for flatpaks to properly allow for different remotes 2021-09-23 21:31:32 -05:00
69a8036398 Configure flatpak last on desktop plays 2021-09-23 21:22:35 -05:00
2f788a1a6e Update discord 2021-09-23 21:18:20 -05:00
53ac5ad659 Create dedicated ansible-pull playbook with basic maintenance tasks, use it 2021-09-22 07:43:28 -05:00
f60eaa9c04 Add more MOTD items to purge 2021-09-19 21:32:38 -05:00
cf92fde0d4 Remove submodules for roles no longer used 2021-09-18 16:20:22 -05:00
0d43e910f2 Remove NRPE and Onlyoffice roles 2021-09-18 16:19:11 -05:00
a29a8fa584 Get those stale roles the HECC out of my repo. We download dynamically from now on. 2021-09-18 16:04:28 -05:00
542d779be2 Add http2 to default listen args 2021-09-18 07:47:10 -05:00
a55ea64d4a Remove erroneous ssl in listen_args 2021-09-18 07:46:00 -05:00
7cc869be5b Add more nginx configuration, specifically with regard to TLS 2021-09-18 07:43:45 -05:00
9b79068380 Allow for the definition of a singular proxy_pass on ingress_servers to simplify configuration 2021-09-18 07:19:26 -05:00
b5057c4064 Fix some configuration errors in ingress, make some changes to better facilitate disabling TLS 2021-09-18 07:13:33 -05:00
13149f2cb9 Add missing args to listen
whups
2021-09-18 07:00:07 -05:00
60bfe91947 Add role for ingress controller, move configuration into it and its data structures 2021-09-18 00:04:05 -05:00
60454b6331 Disable motd-news 2021-09-07 14:54:54 -05:00
85074b43d0 Remove said packages from APT 2021-09-05 12:46:34 -05:00
9f6385e90d Move some packages to Flatpak 2021-09-05 12:45:53 -05:00
ebbacf6edd Add Flatpak functionality to desktop role, turn OBS into a flatpak package 2021-09-04 23:56:51 -05:00
6aef1be67b Move autoremove into its own task on the common role 2021-09-01 19:16:05 -05:00
6632e7185e Add OBS PPA
This one features Wayland support
2021-08-24 15:46:54 -05:00
5486f26c76 Move S76 configuration to its own playbook with a couple of tasks 2021-08-23 23:21:58 -05:00
d63a190b25 Fix Nagios being unable to read its own darn config 2021-08-23 18:36:22 -05:00
d7f70e3dc2 Tighten perms on nrpe config 2021-08-23 18:19:06 -05:00
2421fab739 Template out extra NRPE commands, allowing full file paths 2021-08-18 18:12:30 -05:00
f9ec6f0758 Remove some files that I won't be using from the NRPE role 2021-08-18 18:09:13 -05:00
4d0b005181 Add NRPE role, provision checks for it 2021-08-15 14:24:35 -05:00
39d2f932cf Add snmpd role 2021-08-08 13:26:39 -05:00
2f06fe61e0 Add pynetbox to important things 2021-08-08 00:30:41 -05:00
d6328146b3 Add nfs-common to common role 2021-08-07 11:52:03 -05:00
cbae3438a9 Move requirements.yml to root 2021-08-01 21:39:36 -05:00
ba321f0e91 Add Terraform stuff 2021-08-01 19:36:39 -05:00
c79ebf295d Add Terraform repo, Terraform, and tag desktop role nicely 2021-08-01 19:30:13 -05:00
5fdd4f1551 Fix mode on etc default grub 2021-07-31 20:13:26 -05:00
6ac2a69751 Add craftos-pc 2021-07-29 12:48:19 -05:00
df86a7bf38 Also get rid of telegram 2021-07-27 17:23:40 -05:00
86195c39f7 Remove Docker stuff from desktop role 2021-07-27 17:22:43 -05:00
33394ca2b7 Separate packages out based on machines, removing a ton from the defaults 2021-07-27 16:45:56 -05:00
dec02a11dd Add Kubuntu Backports PPA 2021-07-25 22:27:22 -05:00
b4394f52af Clean up file permissions 2021-07-01 12:12:06 -05:00
23bf9db540 Remove deprecated Spotify key
It's now a 403 :c
2021-06-29 14:25:16 -05:00
ef560719f4 Package cleanup on desktop 2021-06-17 16:35:11 -05:00
cfa0a07bc4 Specify mode on dpkg arch 2021-06-17 15:59:43 -05:00
e977f09be7 How about we stop breaking ansible all the goddamn time 2021-06-10 15:17:14 -05:00
91c93b02e5 Add more Java 2021-06-08 14:35:07 -05:00
09c897422a Update Discord
IT'S YOUR LUCKY DAY
Get fucked.
2021-05-25 15:41:33 -05:00
783755e33c Add libretro ppa 2021-05-05 17:40:51 -05:00
f628e1bfb5 Add packages for emu shenanigans 2021-05-05 17:12:26 -05:00
7484dce678 Update backup script to do it all, allowing for directory AND DB backups 2021-05-04 13:38:39 -05:00
2c3fe97089 Ensure rolling restarts of keepalived 2021-04-29 11:48:15 -05:00
6a8660e51a Autoremove unnecessary packages on nightly updates 2021-04-20 21:54:28 -05:00
ddd0b4bfce Add bitcoin-qt 2021-04-11 23:57:29 -05:00
6fa8c8ff6d Install docker-compose 2021-04-07 17:11:36 -05:00
97243641ab Bump discord 2021-04-03 00:42:03 -05:00
c310cb9fef Add jq 2021-03-27 16:47:14 -05:00
48ecd2e27f Deploy docker to web1.desu.ltd
Also adds docker libs to all hosts
2021-03-25 12:51:47 -05:00
d1252592f1 Modularize keepalived configs 2021-03-24 17:49:25 -05:00
059802d326 Move keepalived templates where they belong
Surprised that worked at all, actually
2021-03-24 17:35:31 -05:00
878ef589fb Install Audacity 2021-03-24 15:32:23 -05:00
3480547d35 Install keepalived on pi k8s nodes 2021-03-11 10:25:41 -06:00