From ad7b7447647e13ee893f723adbcfda5baccfa527 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 8 Jun 2012 01:25:47 +0200 Subject: [PATCH] Allow variables in notify list --- lib/ansible/playbook/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index b545f2dea68..460e4f93535 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -207,7 +207,7 @@ class PlayBook(object): for host, results in results.get('contacted',{}).iteritems(): if results.get('changed', False): for handler_name in task.notify: - self._flag_handler(play.handlers(), handler_name, host) + self._flag_handler(play.handlers(), utils.template(handler_name, task.module_vars), host) # *****************************************************