From d0bc90e08c29e881c388c6803ed9c49dff1f1776 Mon Sep 17 00:00:00 2001 From: Paul B Date: Fri, 31 Aug 2018 11:49:09 +0200 Subject: Initial commit open sourcing Postgresql Ansible role --- tasks/postgres-standby-barman.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tasks/postgres-standby-barman.yml (limited to 'tasks/postgres-standby-barman.yml') diff --git a/tasks/postgres-standby-barman.yml b/tasks/postgres-standby-barman.yml new file mode 100644 index 0000000..793b942 --- /dev/null +++ b/tasks/postgres-standby-barman.yml @@ -0,0 +1,12 @@ +--- +- name: Copy secondary script + template: src=standby-clone.sh.j2 dest=/root/standby-clone-{{ postgres_version }}-{{ postgres_cluster_name }}.sh mode=0755 + +- name: Copy rsync password file + copy: + content: "{{ barman_rsync_password }}" + dest: /var/lib/postgresql/.rsync_pass + owner: postgres + group: postgres + mode: 0400 + no_log: True -- cgit v1.2.3