don't add the module invocation

and check {{ }} syntax in the logger
This commit is contained in:
Seth Vidal 2013-06-28 21:28:29 +00:00
parent d4f08e57b0
commit 8c8e3675cb
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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