ceph-ansible/roles/ceph-common/tasks/release-rhcs.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

---
- name: set_fact ceph_release jewel
set_fact:
ceph_release: jewel
when: ceph_version.split('.')[0] is version('10', '==')
- name: set_fact ceph_release kraken
set_fact:
ceph_release: kraken
when: ceph_version.split('.')[0] is version('11', '==')
- name: set_fact ceph_release luminous
set_fact:
ceph_release: luminous
when: ceph_version.split('.')[0] is version('12', '==')
- name: set_fact ceph_release mimic
set_fact:
ceph_release: mimic
when: ceph_version.split('.')[0] is version('13', '==')
- name: set_fact ceph_release nautilus
set_fact:
ceph_release: nautilus
when: ceph_version.split('.')[0] is version('14', '==')
- name: set_fact ceph_release octopus
set_fact:
ceph_release: octopus
when: ceph_version.split('.')[0] is version('15', '==')
- name: set_fact ceph_release pacific
set_fact:
ceph_release: pacific
when: ceph_version.split('.')[0] is version('16', '==')
- name: set_fact ceph_release quincy
set_fact:
ceph_release: quincy
when: ceph_version.split('.')[0] is version('17', '==')
- name: set_fact ceph_release reef
set_fact:
ceph_release: reef
when: ceph_version.split('.')[0] is version('18', '==')