]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
nfs: do not copy rgw keyring when `nfs_obj_gw` is true
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 7 Aug 2020 08:12:50 +0000 (10:12 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 12 Aug 2020 18:58:13 +0000 (14:58 -0400)
commitfa0484d48116fd1f36f823dc4f815db3a5adc70a
tree7539905b888072890483b5680b249dd0807bdfdd
parent3c1e81ce4867dd81d271b539c6ed93a296df7b8b
nfs: do not copy rgw keyring when `nfs_obj_gw` is true

This keyring shouldn't be copied when `nfs_obj_gw` is `True` if the
cluster doesn't contain a rgw node, which can be the case given we are
using `nfs_obj_gw` instead of `nfs_file_gw` (cephfs vs. object), the
deployment will fail trying to copy a key that doesn't exist.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit dd4b5b0328d585d62103a84e02ca728b588a50f3)
roles/ceph-nfs/tasks/pre_requisite_non_container.yml