2017-08-29 05:23:36 +08:00
|
|
|
---
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release jewel
|
|
|
|
ansible.builtin.set_fact:
|
2017-08-29 05:23:36 +08:00
|
|
|
ceph_release: jewel
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('10', '==')
|
2017-08-29 05:23:36 +08:00
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release kraken
|
|
|
|
ansible.builtin.set_fact:
|
2017-08-29 05:23:36 +08:00
|
|
|
ceph_release: kraken
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('11', '==')
|
2017-08-29 05:23:36 +08:00
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release luminous
|
|
|
|
ansible.builtin.set_fact:
|
2017-08-29 05:23:36 +08:00
|
|
|
ceph_release: luminous
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('12', '==')
|
2017-08-29 05:23:36 +08:00
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release mimic
|
|
|
|
ansible.builtin.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
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release nautilus
|
|
|
|
ansible.builtin.set_fact:
|
2018-06-01 01:02:46 +08:00
|
|
|
ceph_release: nautilus
|
2020-04-18 00:34:32 +08:00
|
|
|
when: ceph_version.split('.')[0] is version('14', '==')
|
2019-04-01 23:46:15 +08:00
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release octopus
|
|
|
|
ansible.builtin.set_fact:
|
2019-04-05 00:52:49 +08:00
|
|
|
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
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release pacific
|
|
|
|
ansible.builtin.set_fact:
|
2020-03-24 02:22:46 +08:00
|
|
|
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
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release quincy
|
|
|
|
ansible.builtin.set_fact:
|
2021-02-02 06:39:07 +08:00
|
|
|
ceph_release: quincy
|
|
|
|
when: ceph_version.split('.')[0] is version('17', '==')
|
2022-10-07 16:49:00 +08:00
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Set_fact ceph_release reef
|
|
|
|
ansible.builtin.set_fact:
|
2022-10-07 16:49:00 +08:00
|
|
|
ceph_release: reef
|
|
|
|
when: ceph_version.split('.')[0] is version('18', '==')
|
2024-02-16 18:13:30 +08:00
|
|
|
|
|
|
|
- name: Set_fact ceph_release squid
|
|
|
|
ansible.builtin.set_fact:
|
|
|
|
ceph_release: squid
|
|
|
|
when: ceph_version.split('.')[0] is version('19', '==')
|