mirror of https://github.com/ceph/ceph-ansible.git
12 lines
409 B
YAML
12 lines
409 B
YAML
---
|
|
- name: copy ceph admin keyring when non containerized deployment
|
|
copy:
|
|
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.client.admin.keyring"
|
|
dest: "/etc/ceph/"
|
|
owner: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
|
group: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
|
mode: "{{ ceph_keyring_permissions }}"
|
|
when:
|
|
- cephx
|
|
- copy_admin_key
|