Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
249 B

#!/bin/sh
PGPASSWORD={{ synapse_pg_db_pass }} /usr/bin/psql \
--user={{ synapse_pg_db_user }} \
--host={{ synapse_pg_db_server }} \
--port={{ synapse_pg_db_port }} \
{{ synapse_pg_db_name }} < {{ synapse_root_dir }}/res/synapse_janitor.sql