Commit graph

183 commits

Author SHA1 Message Date
Samuel Clay
76d02086f9 Registering newsblur_web service in consul. 2021-02-11 21:28:45 -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
33fd3614a4 Adding git config and ssh config to base. 2021-02-10 18:48:00 -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
1338eedeb1 fix node role so that there will be one container per node machine and it will be the one expected 2021-02-10 16:59:48 -05:00
Jonathan Math
78b0b68e95 add role to run consul-client outside of a container 2021-02-10 16:58:24 -05:00
Jonathan Math
4d18fda280 consul-manager roleto run outside of a container 2021-02-10 16:57:54 -05:00
Samuel Clay
4981978046 Updating keys to fix haproxy. 2021-02-08 22:40:06 -05:00
Samuel Clay
e72488bd93 Updating haproxy config, updating DB motd, and finishing up letsencrypt ansible role. 2021-02-08 22:21:03 -05:00
Samuel Clay
f02f43dd18 New Lets Encrypt role, uses DNSimple token. 2021-02-08 20:49:55 -05:00
Samuel Clay
94d900aedc Working on inventories. 2021-02-08 19:22:51 -05:00
Samuel Clay
1901561fa0 Ensuring droplets are created. Fixing a few TF naming issues. 2021-02-08 17:10:33 -05:00
Samuel Clay
f2a37c85fe Fixing issue with droplets not being available once created. 2021-02-08 15:57:00 -05:00
Jonathan Math
6a2a33d5ad correct name of consul-manager docker container 2021-02-08 14:25:15 -05:00
Jonathan Math
71de3a27b9 fix redis role. It was previously trying to set up four containers in each of the redis machines. 2021-02-08 14:24:33 -05:00
Jonathan Math
b4f9908e0f fix consul-client role so that it doesnt break the terraform apply command. It needs to be fixed in the near future to join with the correct IP. 2021-02-08 14:22:22 -05:00
Jonathan Math
18131a8086 fix setup_redis.yml so that it is targeting the db-redis group 2021-02-08 14:20:14 -05:00
Jonathan Math
3e50b38ba1 fix provision.yaml 2021-02-08 14:18:55 -05:00
Jonathan Math
bc1eec3196 remove ansible/digitalocean.py and provision.py as they are no longer used 2021-02-08 14:17:35 -05:00
Jonathan Math
6d421cbc3a add python script to check ssh connection for a droplet 2021-02-08 14:15:23 -05:00
Jonathan Math
76e9ec223b add ansible/archive dir with do_inventory.py 2021-02-08 14:14:58 -05:00
Jonathan Math
fb9e165ec6 add consul-client role to www server 2021-02-04 15:42:45 -05:00
Jonathan Math
7982f905ad add setup_consul_manager.yml 2021-02-04 15:40:26 -05:00
Jonathan Math
ca7d58ec8f remove consul-manager role from setup_www.yml 2021-02-04 15:38:33 -05:00
Jonathan Math
0b30896d5d fix db-redis syntax in digital_ocean.yml 2021-02-04 15:37:46 -05:00
Jonathan Math
807d13afc9 fix provision.yml 2021-02-04 15:37:26 -05:00
Jonathan Math
4387cbf72e fix consul-client role for setup_mongo.yml 2021-02-04 14:35:59 -05:00
Jonathan Math
01ddac0480 add provision.yml (not working) and alternative provision.py 2021-02-04 14:20:54 -05:00
Jonathan Math
c7df220d11 change consul role to consul-client 2021-02-04 11:09:41 -05:00
Jonathan Math
0a8b98bbc5 Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-02-04 11:06:16 -05:00
Jonathan Math
01c31454b4 stub in WIP consul role changes 2021-02-04 11:06:02 -05:00
Samuel Clay
cd90b968fd Inventory groups can't have hyphens. 2021-02-03 20:06:08 -05:00
Jonathan Math
233117b82c add consul roles and stub in WIP consul role definitions 2021-02-03 19:39:53 -05:00
Jonathan Math
d73a206efb remove unnecessary syntax from node role 2021-02-03 17:56:21 -05:00
Jonathan Math
639a997c36 fix hosts for setup_postgres.yml 2021-02-03 12:26:19 -05:00
Jonathan Math
071ae01a4a fix hosts for setup_postgres.yml 2021-02-03 12:25:15 -05:00
Jonathan Math
c8d79e3666 add consul-manager.yml role 2021-02-03 12:18:53 -05:00
Jonathan Math
a25b08dadd add repo and consul-manager role to setup_www.yml, remove haproxy role for now 2021-02-03 12:17:50 -05:00
Jonathan Math
9c80c1e382 remove unnecessary docker image pull task from web and nginx roles 2021-02-03 10:54:06 -05:00
Jonathan Math
eac503be4b remove setup_monitor because the monitor role is already used in setup_www.yml 2021-02-03 10:45:02 -05:00
Jonathan Math
c59f3c1430 move postgres tasks into postgres role 2021-02-03 10:43:08 -05:00
Jonathan Math
398b612f46 move monitor tasks into monitor role 2021-02-03 10:41:07 -05:00
Jonathan Math
82cc1305a2 move mongo tasks into mongo role 2021-02-03 10:39:11 -05:00