2016-05-11 00:29:27 +08:00
|
|
|
---
|
2018-07-26 21:27:21 +08:00
|
|
|
- name: copy ceph admin keyring
|
2016-05-11 00:29:27 +08:00
|
|
|
copy:
|
|
|
|
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.client.admin.keyring"
|
|
|
|
dest: "/etc/ceph/"
|
2018-04-11 23:15:29 +08:00
|
|
|
owner: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
|
|
|
group: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
|
2018-06-25 21:12:56 +08:00
|
|
|
mode: "{{ ceph_keyring_permissions }}"
|
2017-09-02 06:52:55 +08:00
|
|
|
when:
|
2018-02-16 16:04:23 +08:00
|
|
|
- cephx
|
2018-06-25 21:12:56 +08:00
|
|
|
- copy_admin_key
|