mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-23 11:58:12 +00:00
11 lines
285 B
Django/Jinja
11 lines
285 B
Django/Jinja
#!/usr/bin/env bash
|
|
# vim: set ft=sh:
|
|
set -Eeo pipefail
|
|
export PGPASSWORD='{{ postgres_ha_admin_pass }}'
|
|
exec psql \
|
|
--host='127.0.0.1' \
|
|
--port='{{ postgres_ha_cont_port }}' \
|
|
--username='{{ postgres_ha_admin_user }}' \
|
|
--dbname='{{ postgres_ha_db_name }}' \
|
|
${@}
|