Merge pull request #1155 from ceph/take-over-fix

take-over: use more precise ceph.conf detection
pull/1163/head
Sébastien Han 2016-12-06 16:04:52 +01:00 committed by GitHub
commit a23007e7db
1 changed files with 2 additions and 1 deletions

View File

@ -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