From 1b1eda652ddf0363b90f91175ae24499cd0d6c9e Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 18 Jan 2020 17:09:19 +0500 Subject: [PATCH] Revert "Split env vars configuration" This reverts commit 8212f09934136f3d141524c87727213d90f1dea4. --- inventories/production/group_vars/all.yml | 5 ----- .../production/host_vars/articles.crypto-libertarian.com.yml | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/inventories/production/group_vars/all.yml b/inventories/production/group_vars/all.yml index d7356ac..f60ba5b 100644 --- a/inventories/production/group_vars/all.yml +++ b/inventories/production/group_vars/all.yml @@ -1,8 +1,3 @@ --- ansible_python_interpreter: /usr/bin/python3 common__certbot__email: 'kotovalexarian@gmail.com' - -rails__env_vars: - POSTGRES_POOL: 5 - POSTGRES_HOST: 'private-db-postgresql-ams3-67143-do-user-4455684-0.db.ondigitalocean.com' - POSTGRES_PORT: 25060 diff --git a/inventories/production/host_vars/articles.crypto-libertarian.com.yml b/inventories/production/host_vars/articles.crypto-libertarian.com.yml index ca5534a..f8168e7 100644 --- a/inventories/production/host_vars/articles.crypto-libertarian.com.yml +++ b/inventories/production/host_vars/articles.crypto-libertarian.com.yml @@ -38,6 +38,9 @@ rails__gemset: crypto_libertarian-articles rails__env: production rails__env_vars: + POSTGRES_POOL: 5 + POSTGRES_HOST: 'private-db-postgresql-ams3-67143-do-user-4455684-0.db.ondigitalocean.com' + POSTGRES_PORT: 25060 POSTGRES_USER: 'crypto_libertarian_articles' POSTGRES_DB: 'crypto_libertarian_articles_production' POSTGRES_PASSWORD: !vault |