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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8dbee99882968005e744d3c8199dbfdea17495cc)

roles/ceph-nfs/tasks/pre_requisite_container.yml

index 65e5fe5b57244076bb0c87ede634db99fc36f898..54010dfb776bf541b67162fc60da1aabeca453fc 100644 (file)
@@ -13,7 +13,7 @@
       command: "{{ hostvars[groups.get(mon_group_name)[0]]['container_exec_cmd'] }} ceph --cluster {{ cluster }} auth get {{ item.name }}"
       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