don't add the module invocation
and check {{ }} syntax in the logger
This commit is contained in:
parent
d4f08e57b0
commit
8c8e3675cb
2 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,8 @@ class LogMech(object):
|
||||||
name = invoc['module_name']
|
name = invoc['module_name']
|
||||||
|
|
||||||
del(data['invocation'])
|
del(data['invocation'])
|
||||||
data.update(invoc)
|
#don't add this since it can often contain complete passwords :(
|
||||||
|
#data.update(invoc)
|
||||||
|
|
||||||
if task:
|
if task:
|
||||||
name = task.name
|
name = task.name
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
- sshd
|
- sshd
|
||||||
|
|
||||||
- name: set root passwd
|
- name: set root passwd
|
||||||
action: user name=root password=$rootpw state=present
|
action: user name=root password={{ rootpw }} state=present
|
||||||
tags:
|
tags:
|
||||||
- rootpw
|
- rootpw
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue