mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
Cleaning up some of the notify/facts logic added earlier to fix problems
This commit is contained in:
parent
1aa4155266
commit
271a7f3281
4 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue