From: Chris Wells Date: Sat, 28 Jan 2017 18:09:03 +0000 (-0500) Subject: Use hostname instead of host (host can be an IP) and hostname matches the default... X-Git-Tag: v2.2.0rc1~51^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1257%2Fhead;p=ceph-ansible.git Use hostname instead of host (host can be an IP) and hostname matches the default nomenclature in ceph.conf --- 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