From 631e0b8778476d3bf75542617c41e768151d9f56 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Tue, 30 Nov 2021 12:31:39 +0100 Subject: [PATCH] bugfix: fixed variable name - vault_replicator_user_password > postgres_replicator_user_password --- roles/postgres/tasks/master-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postgres/tasks/master-requirements.yml b/roles/postgres/tasks/master-requirements.yml index 9bf4814..7efe555 100644 --- a/roles/postgres/tasks/master-requirements.yml +++ b/roles/postgres/tasks/master-requirements.yml @@ -17,7 +17,7 @@ - name: Change password with scram-sha-256! for replicator and set password become: yes become_user: postgres - shell: "/usr/bin/psql -c \"set password_encryption = 'scram-sha-256';ALTER ROLE replicator WITH PASSWORD '{{ vault_replicator_user_password }}';\"" + shell: "/usr/bin/psql -c \"set password_encryption = 'scram-sha-256';ALTER ROLE replicator WITH PASSWORD '{{ postgres_replicator_user_password }}';\"" ignore_errors: yes - name: Setup pg_hba.conf for replicator user