From 92246616e5e1ecf7c7dcf51074bc017cbd5411c5 Mon Sep 17 00:00:00 2001 From: "K.C. Wong" Date: Thu, 5 Nov 2015 18:06:41 -0800 Subject: [PATCH] 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. --- roles/ceph-rgw/tasks/start_radosgw.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.5