ef40930533
This will allow the specification of container-sync realms via the swift_container_sync_realms variable (documented in the defaults/main.yml within the os_swift role). Creating a conf file that is then used to enable and utilise container-sync Realms within Swift. Change-Id: Icf71d008765ff83743f6ab28ef0cea29943e362e
13 lines
295 B
Django/Jinja
13 lines
295 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% for realm in swift_container_sync_realms %}
|
|
[{{ realm.name }}]
|
|
key = {{ realm.key1 }}
|
|
{% if realm.key2 is defined %}
|
|
key2 = {{ realm.key2 }}
|
|
{% endif %}
|
|
cluster_clustername1 = {{ realm.clustername1 }}
|
|
cluster_clustername2 = {{ realm.clustername2 }}
|
|
|
|
{% endfor %}
|