diff --git a/ansible/roles/gnocchi/templates/gnocchi-metricd.json.j2 b/ansible/roles/gnocchi/templates/gnocchi-metricd.json.j2 index fbbcd89a4a..aa43975270 100644 --- a/ansible/roles/gnocchi/templates/gnocchi-metricd.json.j2 +++ b/ansible/roles/gnocchi/templates/gnocchi-metricd.json.j2 @@ -20,8 +20,8 @@ "perm": "0600" }, { - "source": "{{ container_config_directory }}/ceph.client.gnocchi.keyring", - "dest": "/etc/ceph/ceph.client.gnocchi.keyring", + "source": "{{ container_config_directory }}/{{ ceph_gnocchi_keyring }}", + "dest": "/etc/ceph/{{ ceph_gnocchi_keyring }}", "owner": "gnocchi", "perm": "0600" }{% endif %} diff --git a/ansible/roles/gnocchi/templates/gnocchi-statsd.json.j2 b/ansible/roles/gnocchi/templates/gnocchi-statsd.json.j2 index 9a9203dcfb..027e146860 100644 --- a/ansible/roles/gnocchi/templates/gnocchi-statsd.json.j2 +++ b/ansible/roles/gnocchi/templates/gnocchi-statsd.json.j2 @@ -20,8 +20,8 @@ "perm": "0600" }, { - "source": "{{ container_config_directory }}/ceph.client.gnocchi.keyring", - "dest": "/etc/ceph/ceph.client.gnocchi.keyring", + "source": "{{ container_config_directory }}/{{ ceph_gnocchi_keyring }}", + "dest": "/etc/ceph/{{ ceph_gnocchi_keyring }}", "owner": "gnocchi", "perm": "0600" }{% endif %}