From 3b79c1621b88c25e72db744048b996b88e5a40b7 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 4 Apr 2016 15:31:12 +0200 Subject: [PATCH] Prevent password leaks in notification/irc --- lib/ansible/modules/extras/notification/irc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/notification/irc.py b/lib/ansible/modules/extras/notification/irc.py index 4ea4b5d912..422f1e7986 100644 --- a/lib/ansible/modules/extras/notification/irc.py +++ b/lib/ansible/modules/extras/notification/irc.py @@ -259,9 +259,9 @@ def main(): "light_gray", "none"]), style=dict(default="none", choices=["underline", "reverse", "bold", "italic", "none"]), channel=dict(required=False), - key=dict(), + key=dict(no_log=True), topic=dict(), - passwd=dict(), + passwd=dict(no_log=True), timeout=dict(type='int', default=30), part=dict(type='bool', default=True), use_ssl=dict(type='bool', default=False)