mirror of https://github.com/ceph/ceph-ansible.git
12 lines
375 B
YAML
12 lines
375 B
YAML
---
|
|
- name: copy ceph admin keyring
|
|
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
|