From 6864d04fdfcfd4bc44adba866a44dc5546f4d9c1 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Mon, 10 Feb 2020 11:06:48 -0500 Subject: [PATCH] ceph-nfs: fix ceph_nfs_ceph_user variable The ceph_nfs_ceph_user variable is a string for the ceph-nfs role but a list in ceph-client role. 6a6785b introduced a confusion between both variable type in the ceph-nfs role for external ceph with ganesha. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1801319 Signed-off-by: Dimitri Savineau (cherry picked from commit 10951eeea8236e359d0c6f4b07c0355ffe800a11) --- roles/ceph-nfs/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-nfs/tasks/main.yml b/roles/ceph-nfs/tasks/main.yml index 5f071f533..a2b18fd39 100644 --- a/roles/ceph-nfs/tasks/main.yml +++ b/roles/ceph-nfs/tasks/main.yml @@ -28,7 +28,7 @@ - name: copy rgw keyring when deploying internal ganesha with external ceph cluster copy: - src: "/etc/ceph/{{ cluster }}.{{ ceph_nfs_ceph_user.name }}.keyring" + src: "/etc/ceph/{{ cluster }}.{{ ceph_nfs_ceph_user }}.keyring" dest: "/var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ ansible_hostname }}/keyring" mode: '0600' owner: "{{ ceph_uid if containerized_deployment else 'ceph' }}" -- 2.39.5