From 04a2974af1b58e30f714d5fb7aae2704628664cd Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 27 Apr 2016 10:48:46 -0400 Subject: [PATCH] ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts Signed-off-by: Alfredo Deza --- roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml index cf2c47fb5..92a47ccc4 100644 --- a/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml +++ b/roles/ceph-rbd-mirror/tasks/start_rbd_mirror.yml @@ -12,7 +12,7 @@ changed_when: false when: ansible_distribution != "Ubuntu" and - not is_ceph_infernalis + is_before_infernalis - name: enable systemd unit file for the rbd mirror service (for or after infernalis) file: @@ -23,7 +23,7 @@ failed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer - name: start and add that the rbd mirror service to the init sequence (for or after infernalis) service: @@ -33,4 +33,4 @@ changed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer