Updated release version check

pull/953/head
James Saint-Rossy 2016-09-30 11:43:53 -04:00
parent e2198b3c6a
commit 9c7dac6b94
2 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@
- cephfs_data
- cephfs_metadata
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
command: ceph --cluster {{ cluster }} fs new {{ cephfs }} {{ cephfs_metadata }} {{ cephfs_data }}
changed_when: false
when: not {{ ceph_version | version_compare('0.84.0', '<') }}
when: ceph_release_num.{{ ceph_release }} > ceph_release_num.firefly

View File

@ -9,4 +9,4 @@
with_nested:
- "{{ ceph_pools.stdout_lines|default([]) }}"
- secure_cluster_flags
when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"
when: ceph_release_num.{{ ceph_release }} >= ceph_release_num.hammer