Commit graph

32 commits

Author SHA1 Message Date
Samuel Clay
501a26034c Updating ansible setup. 2024-09-10 06:35:50 -07:00
Samuel Clay
d1dafe7606 Black formatting. 2024-04-24 09:43:56 -04:00
Samuel Clay
f6a2a910ff Fixing hetzner consul ips. 2024-02-18 15:24:30 -05:00
Samuel Clay
38c7463609 Adding hetzner db-consul servers. 2024-02-18 14:51:38 -05:00
Samuel Clay
f709bd7e18 Updating consul and docker for arm64. Using old redis ports. 2024-02-17 17:14:35 -05:00
Samuel Clay
f9ad93e336 Adding hetzner servers. 2024-01-07 10:00:39 -05:00
Samuel Clay
472fcda770 Locking consul to a working version. Also changing flask status code response to handle custom status codes. 2022-02-04 13:01:18 -05:00
Samuel Clay
b0acb97ac1 Archiving munin. 2022-02-01 14:59:05 -05:00
Samuel Clay
ec33dfab48 Separating consul from haproxy health checks. Consul doesn't care what the status of the service is so long as it's reachable. Don't take out bad nodes, let the software do that. 2021-12-06 15:12:12 -05:00
Samuel Clay
54e4914804 Adding 3 consul servers. 2021-05-12 15:41:17 -04:00
Samuel Clay
d11e57c363 Attempting to fix consul issues with haproxy's server-template. 2021-03-11 00:50:59 -05:00
Samuel Clay
0c8b2d3069 Using gunicorn config. 2021-02-24 14:40:43 -05:00
Samuel Clay
bdd4857bae Deleting all ufw rules on every run so firewalls remain clean. Also reloading gunicorn. 2021-02-23 18:37:56 -05:00
Samuel Clay
18a2415d4a Changing consul to use public IPs. This should probably be undone when the old site is disconnected and consul can go back to using private IPs for everything. 2021-02-18 20:53:23 -05:00
Samuel Clay
b6e0d835bd Renaming consul-manager to db-consul. Handling multiples in terraform by naming them with the droplet index. 2021-02-18 13:51:06 -05:00
Samuel Clay
06bdbf48e9 Splitting task into four task servers. Renaming elasticsearch to db-elasticsearch. Working on HAProxy. 2021-02-17 21:07:12 -05:00
Samuel Clay
45391d3c55 Fixing consul manager ip script. 2021-02-17 16:56:41 -05:00
Samuel Clay
af58642ad5 Splitting out dnsmasq 2021-02-17 16:48:07 -05:00
Jonathan Math
a36b7334ce add reload consul handler to consul role... to be imported in other roles 2021-02-17 09:30:03 -05:00
Jonathan Math
3d08e2877e fix get_consul_manager_ip.py script so that it gets the IP of consul-manager0 2021-02-15 19:17:28 -05:00
Samuel Clay
ca60d8486e Using private VPC ips for every consul server. 2021-02-11 20:59:07 -05:00
Samuel Clay
0ac6341756 Consul now all setup. Needs services. 2021-02-11 20:44:57 -05:00
Samuel Clay
e1b0c0f8e8 Adding dnsmasq and disabling systemd-resolved. Consul clients and servrs are now being setup, although there ar ehealth check issues still unresolved. 2021-02-11 19:39:46 -05:00
Samuel Clay
aafe61d079 Starting both manager and agent. Needs a daemonization since it eats ansible right now. 2021-02-10 19:50:48 -05:00
Samuel Clay
fcee1c44f5 Adding consul role to all top level provisioners. 2021-02-10 18:43:47 -05:00
Samuel Clay
de324f58e2 Writing consul-manager IP to /srv/newsblur/consul/consul_manager_ip.txt 2021-02-10 18:38:38 -05:00
Samuel Clay
fea48eeab4 Fixing permissions error 2021-02-10 17:39:49 -05:00
Samuel Clay
eb7e6bc534 Rearranging code 2021-02-10 17:11:28 -05:00
Jonathan Math
0cac1d51d5 add consul role for consul installation 2021-02-10 17:00:57 -05:00
Jonathan Math
c7df220d11 change consul role to consul-client 2021-02-04 11:09:41 -05:00
Jonathan Math
01c31454b4 stub in WIP consul role changes 2021-02-04 11:06:02 -05:00
Jonathan Math
233117b82c add consul roles and stub in WIP consul role definitions 2021-02-03 19:39:53 -05:00