secure_cluster: fix leftover version check

Missed by #953.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
pull/996/head
Patrick Donnelly 2016-10-04 09:12:15 -06:00
parent 45898739bb
commit c5d2170d96
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
- name: collect all the pools - name: collect all the pools
command: rados --cluster {{ cluster }} lspools command: rados --cluster {{ cluster }} lspools
register: ceph_pools 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 - name: secure the cluster
command: ceph --cluster {{ cluster }} osd pool set {{ item[0] }} {{ item[1] }} true command: ceph --cluster {{ cluster }} osd pool set {{ item[0] }} {{ item[1] }} true