mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1155 from ceph/take-over-fix
take-over: use more precise ceph.conf detectionpull/1163/head
commit
a23007e7db
|
@ -27,7 +27,8 @@
|
|||
- include_vars: group_vars/all.yml
|
||||
|
||||
- name: get the name of the existing ceph cluster
|
||||
shell: "ls /etc/ceph/*.conf"
|
||||
shell: |
|
||||
grep -lE '\[global\]|fsid' /etc/ceph/*.conf
|
||||
changed_when: false
|
||||
register: ceph_conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue