2017-08-03 00:09:46 +08:00
|
|
|
---
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: set_fact ceph_release jewel
|
|
|
|
set_fact:
|
2017-08-03 00:09:46 +08:00
|
|
|
ceph_release: jewel
|
2019-04-01 23:46:15 +08:00
|
|
|
when: ceph_version.split('.')[0] is version_compare('10', '==')
|
2017-08-03 00:09:46 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: set_fact ceph_release kraken
|
|
|
|
set_fact:
|
2017-08-03 00:09:46 +08:00
|
|
|
ceph_release: kraken
|
2019-04-01 23:46:15 +08:00
|
|
|
when: ceph_version.split('.')[0] is version_compare('11', '==')
|
2017-08-03 00:09:46 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: set_fact ceph_release luminous
|
|
|
|
set_fact:
|
2017-08-03 00:09:46 +08:00
|
|
|
ceph_release: luminous
|
2019-04-01 23:46:15 +08:00
|
|
|
when: ceph_version.split('.')[0] is version_compare('12', '==')
|
2017-08-03 00:09:46 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: set_fact ceph_release mimic
|
|
|
|
set_fact:
|
2017-08-29 23:21:37 +08:00
|
|
|
ceph_release: mimic
|
2019-04-01 23:46:15 +08:00
|
|
|
when: ceph_version.split('.')[0] is version_compare('13', '==')
|
2018-06-01 01:02:46 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release nautilus
|
|
|
|
set_fact:
|
|
|
|
ceph_release: nautilus
|
2019-04-01 23:46:15 +08:00
|
|
|
when: ceph_version.split('.')[0] is version_compare('14', '==')
|
2019-04-05 00:52:49 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release octopus
|
|
|
|
set_fact:
|
|
|
|
ceph_release: octopus
|
|
|
|
when: ceph_version.split('.')[0] is version_compare('15', '==')
|
2020-03-24 02:22:46 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release pacific
|
|
|
|
set_fact:
|
|
|
|
ceph_release: pacific
|
|
|
|
when: ceph_version.split('.')[0] is version_compare('16', '==')
|