From e802cbb1011bf2abbea9cf9c88ac238157c57893 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Mon, 6 Mar 2023 10:55:13 -0800 Subject: add hetzner ansible playbooks --- hetzner/pg_restore.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hetzner/pg_restore.yaml (limited to 'hetzner/pg_restore.yaml') diff --git a/hetzner/pg_restore.yaml b/hetzner/pg_restore.yaml new file mode 100644 index 0000000..9ff1c7c --- /dev/null +++ b/hetzner/pg_restore.yaml @@ -0,0 +1,13 @@ +--- +- name: Postgresql + hosts: localhost + become: true + become_user: postgres + tasks: + - name: Restore Mastodon Database + postgresql_db: + state: restore + name: mastodon_production + target: "" + become: yes + become_user: postgres -- cgit v1.2.3