]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
nfs: do no copy client.bootstrap-rgw when using mds
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 15 Jun 2021 09:02:05 +0000 (11:02 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 16 Jun 2021 04:32:43 +0000 (06:32 +0200)
There's no need to copy this keyring when using nfs with mds

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-nfs/tasks/pre_requisite_container.yml

index 873f5ae3890e4be8c73f5333df9b756f57e4ec96..599f78f8287d522430369e9460679e069610f51a 100644 (file)
@@ -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