]> git-server-git.apps.pok.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 07:33:59 +0000 (09:33 +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 851479c2c290fd47a990fa841f43e30a5e95f6a0..75e0d1132271aa532dbfda19b165711d6d3009f1 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