aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-03-06 10:55:13 -0800
committerclarkzjw <[email protected]>2023-03-06 10:55:13 -0800
commite802cbb1011bf2abbea9cf9c88ac238157c57893 (patch)
tree06b449bcf4915a4af3700c8818a1b1e4c29e0b8a /hetzner/pg_restore.yaml
parent1b36d880c202d5868757e2e49c6e774e43dc4f8d (diff)
downloadhomelab-e802cbb1011bf2abbea9cf9c88ac238157c57893.tar.gz
add hetzner ansible playbooksHEADmaster
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)