From 8c8e3675cb586b6a4e15673b309dcbedcb804c87 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Fri, 28 Jun 2013 21:28:29 +0000 Subject: [PATCH] don't add the module invocation and check {{ }} syntax in the logger --- callback_plugins/logdetail.py | 3 ++- tasks/base.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index 87b4226523..71640f055e 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.py @@ -107,7 +107,8 @@ class LogMech(object): name = invoc['module_name'] del(data['invocation']) - data.update(invoc) + #don't add this since it can often contain complete passwords :( + #data.update(invoc) if task: name = task.name diff --git a/tasks/base.yml b/tasks/base.yml index 49cb62cfe3..ae932524fd 100644 --- a/tasks/base.yml +++ b/tasks/base.yml @@ -16,7 +16,7 @@ - sshd - name: set root passwd - action: user name=root password=$rootpw state=present + action: user name=root password={{ rootpw }} state=present tags: - rootpw