From: K.C. Wong Date: Fri, 6 Nov 2015 02:06:41 +0000 (-0800) Subject: This change address radosgw not getting started on CentOS X-Git-Tag: v1.0.0~95^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=92246616e5e1ecf7c7dcf51074bc017cbd5411c5;p=ceph-ansible.git This change address radosgw not getting started on CentOS * The explicit check of 'ansible_distribution' being 'RedHat' will not work on CentOS hosts. * Check the value of 'ansible_os_family' instead. --- diff --git a/roles/ceph-rgw/tasks/start_radosgw.yml b/roles/ceph-rgw/tasks/start_radosgw.yml index b5294df45..cc5d1f694 100644 --- a/roles/ceph-rgw/tasks/start_radosgw.yml +++ b/roles/ceph-rgw/tasks/start_radosgw.yml @@ -29,4 +29,4 @@ name: ceph-radosgw state: started enabled: yes - when: ansible_distribution == 'RedHat' + when: ansible_os_family == 'RedHat'