Fix ceph version return code issue

fixes: #258

Signed-off-by: leseb <seb@redhat.com>
pull/335/head
leseb 2015-07-24 12:36:45 +02:00
parent b26e35a70e
commit 518785d113
1 changed files with 1 additions and 0 deletions

View File

@ -36,4 +36,5 @@
- name: get Ceph monitor version
shell: ceph daemon mon."{{ ansible_hostname }}" version | cut -d '"' -f 4 | cut -f 1,2 -d '.'
changed_when: false
failed_when: "'No such file or directory' in ceph_version.stderr"
register: ceph_version