summaryrefslogtreecommitdiffstats
path: root/callback_plugins
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-07-05 18:26:54 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2013-07-05 18:26:54 -0400
commit3bfedc402925600c4a1e1dce587a6b9289874d50 (patch)
tree6ce2107a085df1ae033512a671aeb06c475f8191 /callback_plugins
parent8455e65fbf1bbc371a874ffd027a02ff5e708b7a (diff)
downloadansible-3bfedc402925600c4a1e1dce587a6b9289874d50.tar.gz
ansible-3bfedc402925600c4a1e1dce587a6b9289874d50.tar.xz
ansible-3bfedc402925600c4a1e1dce587a6b9289874d50.zip
it's a dict not an object, dumbass
Diffstat (limited to 'callback_plugins')
-rw-r--r--callback_plugins/logdetail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py
index 06d04a98a..6aa8f8b9b 100644
--- a/callback_plugins/logdetail.py
+++ b/callback_plugins/logdetail.py
@@ -131,7 +131,7 @@ class LogMech(object):
if category == 'OK' and data.get('changed', False):
category = 'CHANGED'
- if self.play_info.check:
+ if self.play_info.get('check', False):
category = 'CHECK:' + category
fd = open(self.logpath_play + '/' + host + '.log', 'a')