2016-05-11 00:29:27 +08:00
|
|
|
---
|
2018-04-17 21:32:53 +08:00
|
|
|
- name: copy ceph admin keyring when non containerized deployment
|
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' }}"
|
2017-01-20 17:14:35 +08:00
|
|
|
mode: "0600"
|
2017-09-02 06:52:55 +08:00
|
|
|
when:
|
2018-02-16 16:04:23 +08:00
|
|
|
- cephx
|
2018-04-11 23:15:29 +08:00
|
|
|
- copy_admin_key
|