aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/sz-ds/templates/etc
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-28 15:37:55 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-28 15:37:55 +0200
commita5705d3f44cb86b216277c6311f313963d4f9c49 (patch)
treeb9a6343a8c730b83e37138bb09461b5a4cf007bc /ansible/roles/sz-ds/templates/etc
parent1f677dfeded1f52dc75c34c93f9ef1d6b3b948be (diff)
downloadinfra-a5705d3f44cb86b216277c6311f313963d4f9c49.tar.gz
infra-a5705d3f44cb86b216277c6311f313963d4f9c49.tar.bz2
infra-a5705d3f44cb86b216277c6311f313963d4f9c49.tar.xz
infra-a5705d3f44cb86b216277c6311f313963d4f9c49.zip
o sz-ds: wip.
Diffstat (limited to 'ansible/roles/sz-ds/templates/etc')
-rw-r--r--ansible/roles/sz-ds/templates/etc/sz-ds/env.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/sz-ds/templates/etc/sz-ds/env.conf.j2 b/ansible/roles/sz-ds/templates/etc/sz-ds/env.conf.j2
new file mode 100644
index 0000000..1e2cebb
--- /dev/null
+++ b/ansible/roles/sz-ds/templates/etc/sz-ds/env.conf.j2
@@ -0,0 +1,3 @@
+GIT_REVISION=
+SQLALCHEMY_DATABASE_URI="postgresql://sz-ds-web:{{ sz_ds_secret.db_password_web }}@localhost/sz-ds"
+SZ_CONFIG=/opt/sz-ds/src/SweetzpotCentral/data-server/config/config-{{ sz_ds_env }}.py