From 6f189335ce6bedb60acd48113277525bdec57218 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 27 Apr 2016 10:51:15 -0400 Subject: [PATCH] ceph-rgw: port start_radosgw task to use new ceph version facts Signed-off-by: Alfredo Deza --- roles/ceph-rgw/tasks/start_radosgw.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/ceph-rgw/tasks/start_radosgw.yml b/roles/ceph-rgw/tasks/start_radosgw.yml index 72b402fa6..c0689ff3b 100644 --- a/roles/ceph-rgw/tasks/start_radosgw.yml +++ b/roles/ceph-rgw/tasks/start_radosgw.yml @@ -25,7 +25,7 @@ enabled: yes when: ansible_os_family == 'RedHat' and - not is_ceph_infernalis + is_before_infernalis - name: enable systemd unit file for rgw instance (for or after infernalis) file: @@ -36,7 +36,7 @@ failed_when: false when: ansible_distribution != "Ubuntu" and - is_ceph_infernalis + is_after_hammer - name: start rgw on red hat (after infernalis) service: @@ -45,4 +45,4 @@ enabled: yes when: ansible_os_family == 'RedHat' and - is_ceph_infernalis + is_after_hammer -- 2.39.5