4 Commits

Author SHA1 Message Date
10ea272736 Merge pull request #33 from matter-labs/fix-type-postgres_replication_interface
fix: Rename variable postgres_replication_bind_address
2024-11-20 10:41:23 +01:00
3fa5c8622b fix: Rename variable postgres_replication_bind_address 2024-11-20 10:40:16 +01:00
64198202a5 Merge pull request #32 from matter-labs/fix-typo
fix: Fixed typo in validation step for replication
2024-11-20 10:36:36 +01:00
0d1717f38a fix: Fixed typo in validation step for replication 2024-11-20 10:35:18 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
when: enable_postgres_replication when: enable_postgres_replication
ansible.builtin.assert: ansible.builtin.assert:
that: that:
- required_var != "" - postgress_replication_required_var != ""
fail_msg: "{{ postgress_replication_required_var }} needs to be set for the role for postgres replication to work" fail_msg: "{{ postgress_replication_required_var }} needs to be set for the role for postgres replication to work"
success_msg: "Required variable for postgres replication {{ postgress_replication_required_var }} isn't empty" success_msg: "Required variable for postgres replication {{ postgress_replication_required_var }} isn't empty"
loop_control: loop_control:

View File

@ -47,7 +47,7 @@ services:
environment: environment:
POSTGRES_HOST_AUTH_METHOD: "host replication replicator {{ postgres_replica_address }}/32 md5" POSTGRES_HOST_AUTH_METHOD: "host replication replicator {{ postgres_replica_address }}/32 md5"
ports: ports:
- "{{ postgres_replication_interface }}:5432:5432" - "{{ postgres_replication_bind_address }}:5432:5432"
{% endif %} {% endif %}
command: command:
- postgres - postgres