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
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('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
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('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
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('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
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('13', '==')
|
2018-06-01 01:02:46 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release nautilus
|
|
|
|
set_fact:
|
|
|
|
ceph_release: nautilus
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('14', '==')
|
2019-04-05 00:52:49 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release octopus
|
|
|
|
set_fact:
|
|
|
|
ceph_release: octopus
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('15', '==')
|
2020-03-24 02:22:46 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release pacific
|
|
|
|
set_fact:
|
|
|
|
ceph_release: pacific
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('16', '==')
|
2021-02-02 06:39:07 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release quincy
|
|
|
|
set_fact:
|
|
|
|
ceph_release: quincy
|
|
|
|
when: ceph_version.split('.')[0] is version('17', '==')
|
2022-10-07 16:49:00 +08:00
|
|
|
|
|
|
|
- name: set_fact ceph_release reef
|
|
|
|
set_fact:
|
|
|
|
ceph_release: reef
|
|
|
|
when: ceph_version.split('.')[0] is version('18', '==')
|