Commit graph

22 commits

Author SHA1 Message Date
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