aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/postgres-standby-barman.yml
blob: 793b94271b41ed54fdfd0c1de63678f5e16ab74a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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