ceph-ansible/roles/ceph-client/tasks/pre_requisite.yml

11 lines
382 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: "0600"
when:
- cephx
- copy_admin_key