Initial commit uberspace ansible

This commit is contained in:
2021-01-04 21:52:44 +01:00
commit 5531bd56ea
22 changed files with 376 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#hostname:port:database:username:password (min 64 characters)
*:*:*:{{ uberspace_user }}:{{ postgres_password }}

View File

@ -0,0 +1 @@
{{ postgres_password }}

View File

@ -0,0 +1,2 @@
export PGHOST=localhost
export PGPORT={{ postgres_port }}

View File

@ -0,0 +1,4 @@
export PATH=$HOME/opt/postgresql/bin/:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/opt/postgresql/lib
export PGPASSFILE=$HOME/.pgpass

View File

@ -0,0 +1,4 @@
[program:postgresql]
command=%(ENV_HOME)s/opt/postgresql/bin/postgres -D %(ENV_HOME)s/opt/postgresql/data/
autostart=yes
autorestart=yes