Add support for secondary-to-secondary replication

This commit is contained in:
s3lph 2023-04-04 23:52:13 +02:00
parent 55ad1892a9
commit 2398e99d65

View file

@ -48,7 +48,7 @@ remote:
{% endfor %}
acl:
{% for remote in (zones | map(attribute='replicas') ) + (zones | map(attribute='replicate') | map(attribute=inventory_hostname) | default([]) ) | flatten | unique %}
{% for remote in (zones | map(attribute='replicas') ) + (zones | map(attribute='replicate', default={}) | map(attribute=inventory_hostname, default=[]) ) | flatten | unique %}
- id: acl-xfr-{{ remote }}
action: transfer