Merge pull request #456 from dhozac/notify-variable
Allow variables in notify list
This commit is contained in:
commit
4cf057a39e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
# *****************************************************
|
||||
|
||||
|
|
Loading…
Reference in a new issue