]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Common: Fix condition on osd restart handler 1477/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 27 Apr 2017 14:24:21 +0000 (16:24 +0200)
committerleseb <seb@redhat.com>
Thu, 27 Apr 2017 14:24:21 +0000 (16:24 +0200)
Fix the condition on the osd restart handler.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/handlers/main.yml

index 1fc4a0ea410de5cc453b44274c6227b486d201e4..096e80044e1c909c5d6817b099c90165795c4e67 100644 (file)
@@ -48,7 +48,7 @@
     - ceph_current_fsid.rc == 0
     - osd_group_name in group_names
 # See https://github.com/ceph/ceph-ansible/issues/1457 for the condition below
-    - item in play_hosts
+    - inventory_hostname in play_hosts
 
 - name: restart ceph mdss
   service: