From c5d2170d968fb3eae3f08f6593b685e4c3e62605 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 4 Oct 2016 09:12:15 -0600 Subject: [PATCH] secure_cluster: fix leftover version check Missed by #953. Signed-off-by: Patrick Donnelly --- roles/ceph-mon/tasks/secure_cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/secure_cluster.yml b/roles/ceph-mon/tasks/secure_cluster.yml index a12d08f49..74666493a 100644 --- a/roles/ceph-mon/tasks/secure_cluster.yml +++ b/roles/ceph-mon/tasks/secure_cluster.yml @@ -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