From 561d678f52e14df7fc0a52f719efd7242a4df44a Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Mon, 19 Jun 2017 01:52:27 +0530 Subject: [PATCH] Fix module params assignment in jabber module (#25850) Fix corrects variable assignment from module params Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/notification/jabber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/notification/jabber.py b/lib/ansible/modules/notification/jabber.py index b213ab1d715..4986d28a6da 100644 --- a/lib/ansible/modules/notification/jabber.py +++ b/lib/ansible/modules/notification/jabber.py @@ -137,7 +137,7 @@ def main(): else: host = server if module.params['encoding']: - xmpp.simplexml.ENCODING = params['encoding'] + xmpp.simplexml.ENCODING = module.params['encoding'] msg = xmpp.protocol.Message(body=module.params['msg'])