mirror of https://github.com/ceph/ceph-ansible.git
osd: to support copy_admin_key
parent
db3a5ce6d9
commit
e1a1f81b6f
|
@ -1,9 +1,22 @@
|
||||||
---
|
---
|
||||||
- name: set config and keys paths
|
- 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:
|
set_fact:
|
||||||
ceph_config_keys:
|
ceph_config_keys:
|
||||||
- /var/lib/ceph/bootstrap-osd/{{ cluster }}.keyring
|
- /var/lib/ceph/bootstrap-osd/{{ 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: wait for ceph.conf and keys
|
- name: wait for ceph.conf and keys
|
||||||
local_action:
|
local_action:
|
||||||
module: wait_for
|
module: wait_for
|
||||||
|
|
Loading…
Reference in New Issue