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

12 lines
409 B
YAML
Raw Normal View History

---
- 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