diff --git a/ansible/roles/swift/templates/swift-object-auditor.json.j2 b/ansible/roles/swift/templates/swift-object-auditor.json.j2 index 3dc84a49cf852c8316a5d7f87585c5535ec0d803..51df1a2eeef577d1a4018b472624f47ec94c2708 100644 --- a/ansible/roles/swift/templates/swift-object-auditor.json.j2 +++ b/ansible/roles/swift/templates/swift-object-auditor.json.j2 @@ -13,6 +13,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-object-expirer.json.j2 b/ansible/roles/swift/templates/swift-object-expirer.json.j2 index a87390ee7f5c461b10abe70fe0c8aaf14abf74bd..639f41e812513eb8399b0cb271f74fc46b9d15ed 100644 --- a/ansible/roles/swift/templates/swift-object-expirer.json.j2 +++ b/ansible/roles/swift/templates/swift-object-expirer.json.j2 @@ -19,6 +19,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-object-replication-server.json.j2 b/ansible/roles/swift/templates/swift-object-replication-server.json.j2 index c63005e70ea47b2e5df5f69257279cff52d15c98..c5ddf90d31cb7927e57e2d2f08abcb48a9dd67dd 100644 --- a/ansible/roles/swift/templates/swift-object-replication-server.json.j2 +++ b/ansible/roles/swift/templates/swift-object-replication-server.json.j2 @@ -13,6 +13,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-object-replicator.json.j2 b/ansible/roles/swift/templates/swift-object-replicator.json.j2 index 8b6b42a8e1a1a131fd5d04eef5ab0c40c6628521..88c46cd342dd65f260253feca4d83100ec66c5ef 100644 --- a/ansible/roles/swift/templates/swift-object-replicator.json.j2 +++ b/ansible/roles/swift/templates/swift-object-replicator.json.j2 @@ -13,6 +13,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-object-server.json.j2 b/ansible/roles/swift/templates/swift-object-server.json.j2 index dcccab70115828790e0ca33b42fd986375714a48..2b0687c1547cda1ac7fb17a24e083e9a0bb0f413 100644 --- a/ansible/roles/swift/templates/swift-object-server.json.j2 +++ b/ansible/roles/swift/templates/swift-object-server.json.j2 @@ -13,6 +13,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-object-updater.json.j2 b/ansible/roles/swift/templates/swift-object-updater.json.j2 index 5d1347c9c5fcce4f82d499226305cf6db1d83281..1b6469c36bb6033f1725c8d41746c9be4f1641b4 100644 --- a/ansible/roles/swift/templates/swift-object-updater.json.j2 +++ b/ansible/roles/swift/templates/swift-object-updater.json.j2 @@ -13,6 +13,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf", diff --git a/ansible/roles/swift/templates/swift-proxy-server.json.j2 b/ansible/roles/swift/templates/swift-proxy-server.json.j2 index b695210a8fca3ae6da7a16bd4c12dddfaae52a6e..a1f4daea593ab6241eb406e0e31818bd9c5f5214 100644 --- a/ansible/roles/swift/templates/swift-proxy-server.json.j2 +++ b/ansible/roles/swift/templates/swift-proxy-server.json.j2 @@ -19,6 +19,14 @@ "owner": "swift", "perm": "0640" }, + {% for ring in swift_extra_ring_files %} + { + "source": "/var/lib/kolla/swift/{{ ring }}", + "dest": "/etc/swift/{{ ring }}", + "owner": "swift", + "perm": "0640" + }, + {% endfor %} { "source": "{{ container_config_directory }}/swift.conf", "dest": "/etc/swift/swift.conf",