diff --git a/ansible/roles/swift/templates/swift-object-auditor.json.j2 b/ansible/roles/swift/templates/swift-object-auditor.json.j2 index 3dc84a49cf..51df1a2eee 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 a87390ee7f..639f41e812 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 c63005e70e..c5ddf90d31 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 8b6b42a8e1..88c46cd342 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 dcccab7011..2b0687c154 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 5d1347c9c5..1b6469c36b 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 b695210a8f..a1f4daea59 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",