]> git.immae.eu Git - github/fretlink/ansible-postgresql-role.git/blobdiff - tasks/postgres-standby-basebackup.yml
standby-clone: Allow cloning of standby server with pg_basebackup
[github/fretlink/ansible-postgresql-role.git] / tasks / postgres-standby-basebackup.yml
diff --git a/tasks/postgres-standby-basebackup.yml b/tasks/postgres-standby-basebackup.yml
new file mode 100644 (file)
index 0000000..db52d55
--- /dev/null
@@ -0,0 +1,4 @@
+---
+- name: Copy secondary pg_basebackup clone script
+  template: src=standby-pg_basebackup-clone.sh.j2 dest=/root/standby-clone-{{ postgres_version }}-{{ postgres_cluster_name }}.sh mode=0755
+  no_log: true