Reworking internal result flags and making sure include_vars hides vault data

Fixes #10194
This commit is contained in:
James Cammarata 2015-07-27 14:01:02 -04:00
parent eebf437d87
commit cb262449c7
7 changed files with 30 additions and 27 deletions

View file

@ -346,7 +346,7 @@ class TaskExecutor:
# 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 is not None:
result['ansible_notify'] = self._task.notify
result['_ansible_notify'] = self._task.notify
# and return
debug("attempt loop complete, returning result")