aboutsummaryrefslogblamecommitdiffhomepage
path: root/tasks/postgres-standby-barman.yml
blob: 65e87a6f87edc2d324e3cc076428dbe15e691e13 (plain) (tree)
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
  when: postgres_barman_rsync_enabled