Commit Graph

205 Commits

Author SHA1 Message Date
IamTheFij 1995434140 Auto initialize vault 2022-05-24 20:10:47 -07:00
IamTheFij d6407d25a0 Wait until mysql is deployed before continuing
Otherwise dependent jobs will fail and take up time restarting
2022-05-24 20:10:26 -07:00
IamTheFij 8eb7a58dfd Remove unused playbook 2022-05-24 20:09:45 -07:00
IamTheFij e677259a1d Switch to a 3 node cluster for better resiliance 2022-05-24 20:09:22 -07:00
IamTheFij 1352eeb3e8 Fix venv detection for ansible cluster target
This fixes the installation of the consul python library
2022-05-24 20:07:52 -07:00
IamTheFij 5f9a04fa5d Make redis optional for blocky to help with resliliance to a single host failing 2022-05-19 16:54:16 -07:00
IamTheFij 38597a7eda Dynamically add dns routes to traefik instances to blocky 2022-05-19 16:53:56 -07:00
IamTheFij 719c1b62d1 Add dedicated backup module and jobs
Possible alternative to backups deployed with each job
2022-05-18 14:23:46 -07:00
IamTheFij fb9e9017ff Fix prom scraping 2022-05-18 14:22:52 -07:00
IamTheFij 8d3d0d0224 Add smarttv block list to default on blocky 2022-05-18 14:22:35 -07:00
IamTheFij f0eacea11f Default nomad cluster to ansible 2022-05-18 14:22:21 -07:00
IamTheFij 1b8c2d6bcf nomad: Run block on all hosts 2022-05-18 11:29:00 -07:00
IamTheFij 96f213a535 Bootstrap kubernetes 2022-05-17 10:43:29 -07:00
IamTheFij 0a003c39b1 WIP: Vault db 2022-05-12 19:27:52 -07:00
IamTheFij b13c5a1388 Bind mysql to loopback 2022-05-09 21:45:08 -07:00
IamTheFij 3b8f9734ac Add prom ports to nextcloud backup 2022-05-09 21:44:26 -07:00
IamTheFij 2ed2079b45 Use consul http port in traefik 2022-04-15 12:25:15 -07:00
IamTheFij ba1b5166b9 Build traefik static config better when services aren't found 2022-04-15 12:13:00 -07:00
IamTheFij 630a85a2f2 no log for some more sensitive info 2022-04-15 12:12:28 -07:00
IamTheFij 420e67b68b WIP nomad vault db integration 2022-04-15 12:12:15 -07:00
IamTheFij af743820ec Add nextcloud backup job 2022-04-15 12:11:41 -07:00
IamTheFij f1316367de Lint, format, lock 2022-04-13 14:02:42 -07:00
IamTheFij 9e97cd5d49 remove useless blank line 2022-04-05 09:44:40 -07:00
IamTheFij 96ca3270fa Create a lot more host volumes
Some are NFS volumes and present on all devices
2022-04-04 22:20:19 -07:00
IamTheFij 428306cdb2 Fix nomad vault policies 2022-04-04 22:19:32 -07:00
IamTheFij f1c7e57682 Add Nomad ACL bootstrap 2022-03-23 16:08:18 -07:00
IamTheFij 970a9f740e Update bootstrap for acls 2022-03-21 20:13:13 -07:00
IamTheFij 3ce91f2d0b Add additional block lists to blocky 2022-03-21 20:12:47 -07:00
IamTheFij 05c0afa6fa Add ignore 2022-03-16 09:50:55 -07:00
IamTheFij c67ca9822c Maybe dynamic nomad? 2022-03-15 12:23:47 -07:00
IamTheFij edec1d992a Remove web and metrics entrypoints from services 2022-03-15 12:23:47 -07:00
IamTheFij 968b7ddb72 Add vault setup: Not secured 2022-03-15 12:23:47 -07:00
IamTheFij b8fc4016cb Fix mysql intents 2022-03-14 16:56:44 -07:00
IamTheFij 30bb579811 Change default bind address to loopback 2022-03-14 15:59:50 -07:00
IamTheFij f5da89c55e Add intents 2022-03-14 15:59:50 -07:00
IamTheFij 28c919e5b0 Simplify proxy routing 2022-03-14 15:59:50 -07:00
IamTheFij 6a7bfb3fc6 Add redis and prometheus support to blocky 2022-03-14 15:59:50 -07:00
IamTheFij 98510a422d Make hostname and consul discovery a bit more dynamic 2022-03-13 10:14:50 -07:00
IamTheFij 8efadf3d43 Be a bit more dynamic with host names 2022-03-13 10:13:19 -07:00
IamTheFij b2c03f1e60 Update hosts improve bootstrap and move a few things around 2022-03-12 10:08:05 -08:00
IamTheFij 24484ccc7e Refactor kubernetes stuff a bit 2022-03-12 10:08:05 -08:00
IamTheFij de2729c239 Make nextcloud bootstrap a prestart task 2022-03-11 19:30:25 -08:00
IamTheFij 73d96756bf Adding kube-prom 2022-03-04 08:25:42 -08:00
IamTheFij 6f9b3b6d37 Get started with k8s examples 2022-03-03 14:51:42 -08:00
IamTheFij cacabec505 Lots of Nomad updates to support metrics 2022-03-03 09:47:07 -08:00
IamTheFij 6110e78edf Add blocky dns 2022-02-28 12:07:34 -08:00
IamTheFij 449a5061bc Pass base hostname through modules 2022-02-28 12:07:25 -08:00
IamTheFij 4df773f5d7 Move jobs to modules 2022-02-27 15:22:09 -08:00
IamTheFij 8bc0c53d83 Move roles back 2022-02-27 15:21:15 -08:00
IamTheFij eb3599e373 Move ansible roles 2022-02-27 14:54:38 -08:00