mirror of https://github.com/ceph/ceph-ansible.git
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.pull/5071/head6a6785b
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 <dsavinea@redhat.com> (cherry picked from commit10951eeea8
)
parent
e4e1b386b0
commit
6864d04fdf
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
- name: copy rgw keyring when deploying internal ganesha with external ceph cluster
|
- name: copy rgw keyring when deploying internal ganesha with external ceph cluster
|
||||||
copy:
|
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"
|
dest: "/var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ ansible_hostname }}/keyring"
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
owner: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
owner: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
||||||
|
|
Loading…
Reference in New Issue