]> git.immae.eu Git - github/fretlink/ansible-postgresql-role.git/blob - tasks/postgres-standby-barman.yml
standby: rsync from barman is optional if SSH access is already here
[github/fretlink/ansible-postgresql-role.git] / tasks / postgres-standby-barman.yml
1 ---
2 - name: Copy secondary script
3 template: src=standby-clone.sh.j2 dest=/root/standby-clone-{{ postgres_version }}-{{ postgres_cluster_name }}.sh mode=0755
4
5 - name: Copy rsync password file
6 copy:
7 content: "{{ barman_rsync_password }}"
8 dest: /var/lib/postgresql/.rsync_pass
9 owner: postgres
10 group: postgres
11 mode: 0400
12 no_log: True
13 when: postgres_barman_rsync_enabled