From 84c322550affbc798234ba75da0b57aff9f04b66 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sat, 28 Jan 2017 13:09:03 -0500 Subject: [PATCH] Use hostname instead of host (host can be an IP) and hostname matches the default nomenclature in ceph.conf --- roles/ceph-rgw/handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-rgw/handlers/main.yml b/roles/ceph-rgw/handlers/main.yml index 3955c8243..b50b7729f 100644 --- a/roles/ceph-rgw/handlers/main.yml +++ b/roles/ceph-rgw/handlers/main.yml @@ -4,5 +4,5 @@ - name: restart rgw service: - name: ceph-radosgw@rgw.{{ ansible_host }} + name: ceph-radosgw@rgw.{{ ansible_hostname }} state: restarted