mirror of https://github.com/ceph/ceph-ansible.git
Allow to propagate cluster name to ceph-fetch-keys
ceph-fetch-keys role currently works only if cluster name is 'ceph'. This commit allows to set custom cluster name in 'defaults' in the same fashion as other roles do.pull/1014/head
parent
bd50e64665
commit
0184469229
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
|
||||
fetch_directory: fetch/
|
||||
cluster: ceph
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
run_once: true
|
||||
with_items:
|
||||
- "{{ ceph_keys.stdout_lines }}"
|
||||
- /var/lib/ceph/bootstrap-osd/ceph.keyring
|
||||
- /var/lib/ceph/bootstrap-rgw/ceph.keyring
|
||||
- /var/lib/ceph/bootstrap-mds/ceph.keyring
|
||||
- "/var/lib/ceph/bootstrap-osd/{{ cluster }}.keyring"
|
||||
- "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring"
|
||||
- "/var/lib/ceph/bootstrap-mds/{{ cluster }}.keyring"
|
||||
|
|
Loading…
Reference in New Issue