mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
Added replication flags
This commit is contained in:
@ -58,6 +58,7 @@ postgres_arguments:
|
||||
- checkpoint_timeout=1800
|
||||
enable_postgres_replication: false
|
||||
# IP address of the interface replication
|
||||
postgres_replications_arguments: []
|
||||
postgres_replication_bind_address: ""
|
||||
postgres_replica_address: ""
|
||||
|
||||
|
||||
@ -45,6 +45,7 @@
|
||||
- enable_postgres_replication
|
||||
- postgres_replication_bind_address
|
||||
- postgres_replica_address
|
||||
- postgres_replications_arguments
|
||||
|
||||
- name: Check required en vars empty
|
||||
ansible.builtin.fail:
|
||||
|
||||
@ -54,6 +54,9 @@ services:
|
||||
- -c
|
||||
{% for argument in postgres_arguments %}
|
||||
- {{ argument }}
|
||||
{% endfor %}
|
||||
{% for repl_argument in postgres_replications_arguments %}
|
||||
- {{ repl_argument }}
|
||||
{% endfor %}
|
||||
external_node:
|
||||
{% if not external_node_raw_docker_tag %}
|
||||
|
||||
Reference in New Issue
Block a user