only_if is going bye bye.

This commit is contained in:
Kevin Fenzi 2014-01-24 16:34:05 +00:00
parent 4e127e63ed
commit 389600314b

View file

@ -93,7 +93,7 @@ class LogMech(object):
if self.playbook_id == 'ansible-cmd':
res['task_userid'] = getlogin()
for k in ("delegate_to", "environment", "first_available_file",
"local_action", "notified_by", "notify", "only_if",
"local_action", "notified_by", "notify",
"register", "sudo", "sudo_user", "tags",
"transport", "when"):
v = getattr(task, k, None)