mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Cleaning up some of the notify/facts logic added earlier to fix problems
This commit is contained in:
@@ -333,7 +333,7 @@ class TaskExecutor:
|
||||
# save the notification target in the result, if it was specified, as
|
||||
# this task may be running in a loop in which case the notification
|
||||
# may be item-specific, ie. "notify: service {{item}}"
|
||||
if self._task.notify:
|
||||
if self._task.notify is not None:
|
||||
result['ansible_notify'] = self._task.notify
|
||||
|
||||
# and return
|
||||
|
||||
Reference in New Issue
Block a user