2016-05-11 00:29:27 +08:00
|
|
|
---
|
|
|
|
- name: copy ceph admin keyring
|
|
|
|
copy:
|
|
|
|
src: "{{ fetch_directory }}/{{ fsid }}/etc/ceph/{{ cluster }}.client.admin.keyring"
|
|
|
|
dest: "/etc/ceph/"
|
2017-01-20 17:14:35 +08:00
|
|
|
owner: "ceph"
|
|
|
|
group: "ceph"
|
|
|
|
mode: "0600"
|
2017-09-02 06:52:55 +08:00
|
|
|
when:
|
|
|
|
- cephx
|
|
|
|
- copy_admin_key
|
2017-02-09 17:54:49 +08:00
|
|
|
|
|
|
|
- name: check if global key exists in ceph_conf_overrides
|
|
|
|
set_fact:
|
|
|
|
global_in_ceph_conf_overrides: "{{ 'global' in ceph_conf_overrides }}"
|