From fb02b1d9d340b2884c41b25c3ffc2c429df4a218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 14 Sep 2017 11:06:44 -0600 Subject: [PATCH] mon: create the mgr key for release >= luminous MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes RHCS builds. We know which Ceph version we are running on. Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/docker/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/ceph-mon/tasks/docker/main.yml b/roles/ceph-mon/tasks/docker/main.yml index ac9314663..6702cb09d 100644 --- a/roles/ceph-mon/tasks/docker/main.yml +++ b/roles/ceph-mon/tasks/docker/main.yml @@ -130,5 +130,4 @@ - item.stat.exists == true when: - inventory_hostname == groups[mon_group_name]|last - - not ceph_docker_image_tag.find('jewel') != -1 - - ceph_docker_image != 'rhceph' + - ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous