mirror of https://github.com/ceph/ceph-ansible.git
secure_cluster: fix leftover version check
Missed by #953. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>pull/996/head
parent
45898739bb
commit
c5d2170d96
|
@ -2,7 +2,7 @@
|
|||
- name: collect all the pools
|
||||
command: rados --cluster {{ cluster }} lspools
|
||||
register: ceph_pools
|
||||
when: "{{ ceph_version | version_compare('0.94.0', '>=') }}"
|
||||
when: ceph_release_num.{{ ceph_release }} >= ceph_release_num.hammer
|
||||
|
||||
- name: secure the cluster
|
||||
command: ceph --cluster {{ cluster }} osd pool set {{ item[0] }} {{ item[1] }} true
|
||||
|
|
Loading…
Reference in New Issue