Commit Graph

88 Commits

Author SHA1 Message Date
IamTheFij 57efee14e9 Update Ansible inventory to split node roles
Splits servers and clients to their own groups so that plays can target
specific roles.

Prior, everything was "both", but i want to and another server for
recovery purposes but not host containers on it.
2024-05-01 09:40:21 -07:00
IamTheFij 13121862ec Add new host on qnap nas 2024-04-22 09:06:33 -07:00
IamTheFij 28da3f425b Move nomad default interface to host vars 2024-04-22 09:06:11 -07:00
IamTheFij da0f52dab3 Improve change detection for cluster bootstrap 2024-04-17 10:46:10 -07:00
IamTheFij beac302a53 Upgrade nomad to 1.7.6 2024-04-17 10:45:27 -07:00
IamTheFij e6653f6495 Migrate sonarr to postgresql
And increase postgresql memory to accomodate
2024-03-25 16:05:58 -07:00
IamTheFij 62e120ce51 Add radarr 2024-02-20 10:09:48 -08:00
IamTheFij 2ff954b4b5 Bump nomad 2024-02-13 12:00:43 -08:00
IamTheFij 2528dafcc6 Make nomad restart playbook more resilient 2024-02-13 12:00:24 -08:00
IamTheFij cf8bde7920 Add external traefik routes to nomad vars 2024-01-16 14:15:18 -08:00
IamTheFij bc87688f1a Move ldap secrets 2024-01-16 14:14:39 -08:00
IamTheFij 6b9533ef71 Run traefik on multiple hosts 2024-01-04 13:24:15 -08:00
IamTheFij 0bd995ec2b Traefik: Use nomad vars for dynamic certs
Rather than having Traefik handle cert fetching, instead
it is delegated to a separate job so that multiple Traefik
instances can share certs
2024-01-04 10:55:49 -08:00
IamTheFij 0d340f3349 Periodic job to renew lego certs and store them in Nomad Variables
This will allow multiple instance of Traefik to serve certs.
2024-01-04 10:53:25 -08:00
IamTheFij 9544222961 Bump to 1.7.2 2023-12-29 20:47:58 -08:00
IamTheFij 7bc4ae1f8b Reserve node memory to reduce OOM kills 2023-12-29 07:36:23 -08:00
IamTheFij 7e87002be2 Nomad 1.7 2023-12-18 12:22:19 -08:00
IamTheFij 36cdb8f41b Add Gitea
Currently it won't auto bootstrap auth. A command has to be executed one
time to get it to be added to the database.
2023-11-30 13:22:54 -08:00
IamTheFij b218633c2c Add scheduled job to update UniFi Traffic Routes
Because I use a custom DNS server, Domain based routing rules
don't work. This instead resolves the domains and then adds
the IP addresses to the rules.
2023-11-20 10:37:03 -08:00
IamTheFij 52abd94a38 Use minio as restic repo rather than sftp
I've been getting a lot of restic lock errors using sftp
2023-11-06 16:35:13 -08:00
IamTheFij b97cfb68ad Minor Nomad bmp 1.6.2 2023-10-19 12:05:52 -07:00
IamTheFij df4737655a Remount network shares when recovering cluster 2023-09-27 21:26:44 -07:00
IamTheFij cf90248430 Remove old Consul and Vault references 2023-09-17 21:43:04 -07:00
IamTheFij 8dd00c1249 authelia and grafana to shared smtp secrets 2023-08-29 15:11:40 -07:00
IamTheFij f5898b0283 Add workload ACL management for mysql and postgres access
Allows required jobs to access shared secrets and auto generates psks
for stunnel.

Currently supporting MySQL, Postgres, and LDAP.
2023-08-29 12:48:48 -07:00
IamTheFij 0a8395e8fa Add bazarr configs 2023-08-21 10:54:57 -07:00
IamTheFij 8f6bed297c Upgrade to nomad 1.6.1 2023-07-26 15:29:39 -07:00
IamTheFij 882b93a4c5 Abort nomad recovery if any hosts fail 2023-07-26 15:27:46 -07:00
IamTheFij 0d37652447 Add pre-commit hook to make sure variable sample is up to date 2023-07-25 16:57:44 -07:00
IamTheFij 70098930f8 Add lidarr 2023-07-25 16:57:33 -07:00
IamTheFij 6524631a53 Upgrade to nomad 1.6 2023-07-19 10:42:38 -07:00
IamTheFij 9b11ad9a69 Add Nomad var example and remove old examples 2023-07-11 12:46:47 -07:00
IamTheFij acc80868f9 Switch lldap storage to mysql 2023-07-05 17:30:54 -07:00
IamTheFij 44467d1075 Add playbook to restart wesher and nomad 2023-06-20 09:45:01 -07:00
IamTheFij 33ec66346b Make target to stop Nomad cluster 2023-05-09 11:39:27 -07:00
IamTheFij 8d63c50ffb Add Postgres database to cluster 2023-05-03 14:16:47 -07:00
IamTheFij cf0a415179 Revert "Upgrade cni to 1.1.2"
This reverts commit bbc8ba5c6b.
2023-05-02 21:29:27 -07:00
IamTheFij bbc8ba5c6b Upgrade cni to 1.1.2 2023-04-20 16:46:35 -07:00
IamTheFij 973388e109 Add hw_transcode meta to nodes 2023-04-20 16:43:57 -07:00
IamTheFij fb25b52e7a Restrict permissions to wesher config 2023-04-14 14:23:58 -07:00
IamTheFij 8cbc9145c0 Minor nomad upgrade 2023-04-14 13:41:40 -07:00
IamTheFij f1098d6448 Remove nomad-bridge because it's not used 2023-03-24 23:07:23 -07:00
IamTheFij 74ce30c3c1 Get nomad client scraping working 2023-03-24 22:22:11 -07:00
IamTheFij 6f94b4ed67 Fix cluster setup 2023-03-24 21:12:02 -07:00
IamTheFij 98ea2a1ca0 A whole lot of incremental fixes for nomad variables and such
Also adds stunnel between redis and clients
2023-03-24 16:32:37 -07:00
IamTheFij 65cb6afaf9 WIP: Moving vars and service discovery to Nomad
Starting with core
2023-03-24 08:55:23 -07:00
IamTheFij 73e7b7063f Fix wesher secrets 2023-03-24 08:50:01 -07:00
IamTheFij 6201aaa87e Upgrade Nomad to 1.5.2 2023-03-24 08:49:48 -07:00
IamTheFij fda97b8d01 Add Wesher and Wesher overlay 2023-03-23 22:10:24 -07:00
IamTheFij 3248f2817b Change min consul nodes to bootstrap to 2 2023-03-17 11:47:21 -07:00