Allow variables in notify list

pull/456/head
Daniel Hokka Zakrisson 13 years ago
parent 2b43a99927
commit 3cf749ea95

@ -207,7 +207,7 @@ class PlayBook(object):
for host, results in results.get('contacted',{}).iteritems(): for host, results in results.get('contacted',{}).iteritems():
if results.get('changed', False): if results.get('changed', False):
for handler_name in task.notify: 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)
# ***************************************************** # *****************************************************

Loading…
Cancel
Save