mirror of https://github.com/ceph/ceph-ansible.git
Updated release version check
parent
e2198b3c6a
commit
9c7dac6b94
|
@ -9,9 +9,9 @@
|
||||||
- cephfs_data
|
- cephfs_data
|
||||||
- cephfs_metadata
|
- cephfs_metadata
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: not {{ ceph_version | version_compare('0.84.0', '<') }}
|
when: ceph_release_num.{{ ceph_release }} > ceph_release_num.firefly
|
||||||
|
|
||||||
- name: create ceph filesystem
|
- name: create ceph filesystem
|
||||||
command: ceph --cluster {{ cluster }} fs new {{ cephfs }} {{ cephfs_metadata }} {{ cephfs_data }}
|
command: ceph --cluster {{ cluster }} fs new {{ cephfs }} {{ cephfs_metadata }} {{ cephfs_data }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: not {{ ceph_version | version_compare('0.84.0', '<') }}
|
when: ceph_release_num.{{ ceph_release }} > ceph_release_num.firefly
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
with_nested:
|
with_nested:
|
||||||
- "{{ ceph_pools.stdout_lines|default([]) }}"
|
- "{{ ceph_pools.stdout_lines|default([]) }}"
|
||||||
- secure_cluster_flags
|
- secure_cluster_flags
|
||||||
when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"
|
when: ceph_release_num.{{ ceph_release }} >= ceph_release_num.hammer
|
||||||
|
|
Loading…
Reference in New Issue