mirror of https://github.com/ceph/ceph-ansible.git
12 lines
348 B
YAML
12 lines
348 B
YAML
|
---
|
||
|
# Set ceph_release to ceph_stable by default
|
||
|
- set_fact:
|
||
|
ceph_release: "{{ ceph_stable_release }}"
|
||
|
|
||
|
# Set ceph_release to latest known release (Which should match ceph_dev)
|
||
|
- set_fact:
|
||
|
ceph_release: "{{ item.key }}"
|
||
|
when:
|
||
|
ceph_dev and ({{ item.value }} > ceph_release_num.{{ ceph_release }})
|
||
|
with_dict: "{{ ceph_release_num }}"
|