summaryrefslogtreecommitdiff
path: root/notification
diff options
context:
space:
mode:
authorMichael Scherer <mscherer@users.noreply.github.com>2016-04-07 14:59:11 +0200
committerBrian Coca <bcoca@ansible.com>2016-04-07 08:59:11 -0400
commit3385bf5ef2ebf5ca94629fe916eb609ef1f378b1 (patch)
tree564feab161cd41ccebc16d30aad128e789128e29 /notification
parentc215bff12ef47d8f0a01c086f531f6185443f0a5 (diff)
downloadansible-modules-extras-3385bf5ef2ebf5ca94629fe916eb609ef1f378b1.tar.gz
Do not leak mail password by error
Diffstat (limited to 'notification')
-rw-r--r--notification/mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/notification/mail.py b/notification/mail.py
index e63a9536..c8b2bb30 100644
--- a/notification/mail.py
+++ b/notification/mail.py
@@ -178,7 +178,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
username = dict(default=None),
- password = dict(default=None),
+ password = dict(default=None, no_log=True),
host = dict(default='localhost'),
port = dict(default='25'),
sender = dict(default='root', aliases=['from']),