From 1d0651e4659c97b3286bf9f3666e766b44b736f1 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 15 Jun 2021 11:02:05 +0200 Subject: [PATCH] nfs: do no copy client.bootstrap-rgw when using mds There's no need to copy this keyring when using nfs with mds Signed-off-by: Guillaume Abrioux (cherry picked from commit 8dbee99882968005e744d3c8199dbfdea17495cc) --- roles/ceph-nfs/tasks/pre_requisite_container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-nfs/tasks/pre_requisite_container.yml b/roles/ceph-nfs/tasks/pre_requisite_container.yml index d05551442..d130f5ef2 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_container.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_container.yml @@ -20,7 +20,7 @@ CEPH_CONTAINER_BINARY: "{{ container_binary }}" register: _rgw_keys with_items: - - { name: "client.bootstrap-rgw", path: "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring", copy_key: true } + - { name: "client.bootstrap-rgw", path: "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring", copy_key: "{{ nfs_obj_gw }}" } - { name: "client.admin", path: "/etc/ceph/{{ cluster }}.client.admin.keyring", copy_key: "{{ copy_admin_key }}" } delegate_to: "{{ groups.get(mon_group_name)[0] }}" run_once: true