aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/postgres-standby-barman.yml
Commit message (Collapse)AuthorAgeFilesLines
* standby-clone: Allow cloning of standby server with pg_basebackupPaul B2020-06-051-2/+2
| | | | | | | | | | | | | | | | | | | Right now the role assumes you have a base backup available with Barman. However if you don't have an initial barman backup you might want to clone the primary server directly to setup your standby server. This PR adds a new `primary.pg_basebackup` option to the cluster configuration which if enabled (set to `true`) will create a `/root/standby-clone-{{ postgres_version }}-{{ postgres_cluster_name }}.sh` script on the standby server which helps to initialise a standby server. ⚠️ Breaking change: the current role behavior which creates a cloning script fetching the initial backup from barman will not be enabled by default anymore. You will need to add the new `primary.restore_barman_directory` option in your role configuration to do so. ⚠️
* Allow to set options for barman connectivityThéophile Helleboid2019-05-031-0/+12
| | | | | | | - Allow to pass arbitrary options - Build the URL in a dedicated step - Allow to specify path prefix for barman files - Add documentation in [README.md](README.md)
* standby: rsync from barman is optional if SSH access is already herePaul B2018-12-281-0/+1
|
* Initial commit open sourcing Postgresql Ansible role1.0.0Paul B2018-08-311-0/+12