|
|
|
@ -17,7 +17,7 @@
|
|
|
|
- name: Change password with scram-sha-256! for replicator and set password
|
|
|
|
- name: Change password with scram-sha-256! for replicator and set password
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
become_user: postgres
|
|
|
|
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
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup pg_hba.conf for replicator user
|
|
|
|
- name: Setup pg_hba.conf for replicator user
|
|
|
|
|