1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allow variables in notify list

This commit is contained in:
Daniel Hokka Zakrisson 2012-06-08 01:25:47 +02:00
parent 57a34d914f
commit ad7b744764

View file

@ -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)
# ***************************************************** # *****************************************************