From a025cfcb33b2425db3f4163bb66bf27e51a9f54d Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 3 Feb 2013 23:26:02 +0100 Subject: [PATCH] Add on_import_for_host callback from non-list case --- lib/ansible/playbook/play.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index f02730d6d49..2c0c65fb240 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -326,6 +326,7 @@ class Play(object): # running a host specific pass and has host specific variables # load into setup cache self.playbook.SETUP_CACHE[host].update(new_vars) + self.playbook.callbacks.on_import_for_host(host, filename4) elif host is None: # running a non-host specific pass and we can update the global vars instead self.vars.update(new_vars)