From 3c82c7fd16f93fa2408f022da64423b0e5638f2e Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 27 Apr 2016 10:39:57 -0400 Subject: [PATCH] ceph-mds: port pre_requisite task to use new ceph version facts Signed-off-by: Alfredo Deza --- roles/ceph-mds/tasks/pre_requisite.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/ceph-mds/tasks/pre_requisite.yml b/roles/ceph-mds/tasks/pre_requisite.yml index 813d5a306..be9c0478e 100644 --- a/roles/ceph-mds/tasks/pre_requisite.yml +++ b/roles/ceph-mds/tasks/pre_requisite.yml @@ -87,7 +87,7 @@ failed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer - name: start and add that the metadata service to the init sequence (ubuntu) command: initctl emit ceph-mds cluster={{ cluster }} id={{ mds_name }} @@ -104,7 +104,7 @@ changed_when: false when: ansible_distribution != "Ubuntu" and - not is_ceph_infernalis + is_before_infernalis - name: start and add that the metadata service to the init sequence (for or after infernalis) service: @@ -114,4 +114,4 @@ changed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer -- 2.39.5