mirror of https://github.com/ceph/ceph-ansible.git
mds: to support copy_admin_keyring
parent
6b59416f75
commit
db3a5ce6d9
|
@ -3,11 +3,24 @@
|
|||
set_fact:
|
||||
docker_exec_cmd: "docker exec ceph-mds-{{ ansible_hostname }}"
|
||||
|
||||
- name: set_fact admin_keyring
|
||||
set_fact:
|
||||
admin_keyring:
|
||||
- "/etc/ceph/{{ cluster }}.client.admin.keyring"
|
||||
when:
|
||||
- copy_admin_key
|
||||
|
||||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /var/lib/ceph/bootstrap-mds/{{ cluster }}.keyring
|
||||
|
||||
- name: merge ceph_config_keys and admin_keyring
|
||||
set_fact:
|
||||
ceph_config_keys: "{{ ceph_config_keys + admin_keyring }}"
|
||||
when:
|
||||
- copy_admin_key
|
||||
|
||||
- name: stat for ceph config and keys
|
||||
local_action:
|
||||
module: stat
|
||||
|
|
Loading…
Reference in New Issue