diff --git a/defaults/main.yaml b/defaults/main.yaml index 7ca0c0f..52e4a66 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,5 +1,5 @@ # Patroni common options -patroni_version: "3.0.1" +patroni_version: "3.0.2" patroni_install_official_repo: true # Patroni cluster options @@ -65,7 +65,7 @@ patroni_remove_data_directory_on_diverged_timelines: false # or 'true' # if it notices that timelines are diverging and the former master can not start streaming from the new master. # https://patroni.readthedocs.io/en/latest/replica_bootstrap.html#bootstrap -patroni_cluster_bootstrap_method: "initdb" # or "wal-g", "pgbackrest", "pg_probackup" +patroni_cluster_bootstrap_method: "initdb --username {{ patroni_superuser_username }}" # or "wal-g", "pgbackrest", "pg_probackup" # https://patroni.readthedocs.io/en/latest/replica_bootstrap.html#building-replicas patroni_create_replica_methods: