Added replication flags

This commit is contained in:
Oleksandr Stepanov
2024-11-19 16:26:57 +01:00
parent f347a9173e
commit 6f1e025785
3 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,7 @@ postgres_arguments:
- checkpoint_timeout=1800 - checkpoint_timeout=1800
enable_postgres_replication: false enable_postgres_replication: false
# IP address of the interface replication # IP address of the interface replication
postgres_replications_arguments: []
postgres_replication_bind_address: "" postgres_replication_bind_address: ""
postgres_replica_address: "" postgres_replica_address: ""

View File

@ -45,6 +45,7 @@
- enable_postgres_replication - enable_postgres_replication
- postgres_replication_bind_address - postgres_replication_bind_address
- postgres_replica_address - postgres_replica_address
- postgres_replications_arguments
- name: Check required en vars empty - name: Check required en vars empty
ansible.builtin.fail: ansible.builtin.fail:

View File

@ -54,6 +54,9 @@ services:
- -c - -c
{% for argument in postgres_arguments %} {% for argument in postgres_arguments %}
- {{ argument }} - {{ argument }}
{% endfor %}
{% for repl_argument in postgres_replications_arguments %}
- {{ repl_argument }}
{% endfor %} {% endfor %}
external_node: external_node:
{% if not external_node_raw_docker_tag %} {% if not external_node_raw_docker_tag %}