Commit Graph

101 Commits

Author SHA1 Message Date
e57fcfcfdb Add docker install 2022-05-24 20:11:07 -07:00
423c8f23c5 Auto initialize vault 2022-05-24 20:10:47 -07:00
2f95257325 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
c09af9936a Remove unused playbook 2022-05-24 20:09:45 -07:00
321d60dc1f Switch to a 3 node cluster for better resiliance 2022-05-24 20:09:22 -07:00
a07f37ff1b Fix venv detection for ansible cluster target
This fixes the installation of the consul python library
2022-05-24 20:07:52 -07:00
faef7f3734 Make redis optional for blocky to help with resliliance to a single host failing 2022-05-19 16:54:16 -07:00
8a606cbe05 Dynamically add dns routes to traefik instances to blocky 2022-05-19 16:53:56 -07:00
d39c82762e Add dedicated backup module and jobs
Possible alternative to backups deployed with each job
2022-05-18 14:23:46 -07:00
a3d9c40f46 Fix prom scraping 2022-05-18 14:22:52 -07:00
18c5b006e8 Add smarttv block list to default on blocky 2022-05-18 14:22:35 -07:00
e71c534fcf Default nomad cluster to ansible 2022-05-18 14:22:21 -07:00
9a360c91b2 nomad: Run block on all hosts 2022-05-18 11:29:00 -07:00
b6145a54a0 WIP: Vault db 2022-05-12 19:27:52 -07:00
07ff8e57b8 Bind mysql to loopback 2022-05-09 21:45:08 -07:00
7d587d59a1 Add prom ports to nextcloud backup 2022-05-09 21:44:26 -07:00
fc583abace Use consul http port in traefik 2022-04-15 12:25:15 -07:00
aeb662d799 Build traefik static config better when services aren't found 2022-04-15 12:13:00 -07:00
456485aa5e no log for some more sensitive info 2022-04-15 12:12:28 -07:00
126cd6743f WIP nomad vault db integration 2022-04-15 12:12:15 -07:00
3c7df5fa54 Add nextcloud backup job 2022-04-15 12:11:41 -07:00
5acb814abd Lint, format, lock 2022-04-13 14:02:42 -07:00
036fe9c525 remove useless blank line 2022-04-05 09:44:40 -07:00
a1217250dc Create a lot more host volumes
Some are NFS volumes and present on all devices
2022-04-04 22:20:19 -07:00
18635aad2d Fix nomad vault policies 2022-04-04 22:19:32 -07:00
f8f7cf2dc2 Add Nomad ACL bootstrap 2022-03-23 16:08:18 -07:00
e3d894a8d5 Update bootstrap for acls 2022-03-21 20:13:13 -07:00
d7a1a3c6f6 Add additional block lists to blocky 2022-03-21 20:12:47 -07:00
a18388e36d Add ignore 2022-03-16 09:50:55 -07:00
bd5a71c3da Maybe dynamic nomad? 2022-03-15 12:23:47 -07:00
e913084fe7 Remove web and metrics entrypoints from services 2022-03-15 12:23:47 -07:00
4d4bf36d3c Add vault setup: Not secured 2022-03-15 12:23:47 -07:00
a46d3d8807 Fix mysql intents 2022-03-14 16:56:44 -07:00
72a9b007e2 Change default bind address to loopback 2022-03-14 15:59:50 -07:00
75fd68552e Add intents 2022-03-14 15:59:50 -07:00
8b55f83996 Simplify proxy routing 2022-03-14 15:59:50 -07:00
b845847ce4 Add redis and prometheus support to blocky 2022-03-14 15:59:50 -07:00
dc73e6427b Make hostname and consul discovery a bit more dynamic 2022-03-13 10:14:50 -07:00
535dba941b Be a bit more dynamic with host names 2022-03-13 10:13:19 -07:00
99889f032d Update hosts improve bootstrap and move a few things around 2022-03-12 10:08:05 -08:00
610334251d Make nextcloud bootstrap a prestart task 2022-03-11 19:30:25 -08:00
418d913e5d Lots of Nomad updates to support metrics 2022-03-03 09:47:07 -08:00
2ce24198fe Add blocky dns 2022-02-28 12:07:34 -08:00
33dbc177dd Pass base hostname through modules 2022-02-28 12:07:25 -08:00
6d378b2d1f Move jobs to modules 2022-02-27 15:22:09 -08:00
50ecca2b06 Move roles back 2022-02-27 15:21:15 -08:00
b4a4d6a822 Move ansible roles 2022-02-27 14:54:38 -08:00
57df7199f7 Update ansible to deploy nomad and consul to Pi host
This is broken because the Pi doesn't have the right version of ip-tables
2022-02-27 14:54:25 -08:00
0a1041ae08 Add nextcloud 2022-02-17 14:03:50 -08:00
aff7fd0186 Update host networks and proxy mapping 2022-02-17 14:03:42 -08:00