Cleaning up some of the notify/facts logic added earlier to fix problems

This commit is contained in:
James Cammarata 2015-07-17 14:44:05 -04:00
commit 271a7f3281
4 changed files with 14 additions and 14 deletions

View file

@ -28,7 +28,7 @@ class ActionModule(ActionBase):
# Remove special fields from the result, which can only be set
# internally by the executor engine. We do this only here in
# the 'normal' action, as other action plugins may set this.
for field in ('ansible_facts', 'ansible_notify'):
for field in ('ansible_notify',):
if field in results:
results.pop(field)