aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hetzner/pg_restore.yaml')
-rw-r--r--hetzner/pg_restore.yaml13
1 files changed, 13 insertions, 0 deletions
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 @@
1---
2- name: Postgresql
3 hosts: localhost
4 become: true
5 become_user: postgres
6 tasks:
7 - name: Restore Mastodon Database
8 postgresql_db:
9 state: restore
10 name: mastodon_production
11 target: ""
12 become: yes
13 become_user: postgres
Powered by cgit v1.2.3 (git 2.41.0)