From ac4fa98e2b71a0b681bfdb848d2c7e22a7538ea1 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 11 Apr 2022 12:28:43 -0500 Subject: [PATCH] Have gulagbot connect to its DB via DNS Additionally, I configured a static IP for this machine This should eliminate the circumstance where gulagbot fails to connect to its DB after a reboot --- playbooks/tasks/app/gulagbot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/tasks/app/gulagbot.yml b/playbooks/tasks/app/gulagbot.yml index dddf9d6..0379502 100644 --- a/playbooks/tasks/app/gulagbot.yml +++ b/playbooks/tasks/app/gulagbot.yml @@ -9,7 +9,7 @@ GULAG_HUMILIATION: "3" GULAG_SCORE_MIN: "-3" GULAG_SCORE_MAX: "15" - PGHOST: 192.168.1.23 + PGHOST: eth0.vm-psql-1.home.mgmt.desu.ltd PGDATABASE: gulagbot-desultd PGUSER: gulagbot-desultd PGPASSWORD: "{{ secret_gulagbot_db_pass }}"