mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
don't add the module invocation
and check {{ }} syntax in the logger
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user