From 6f782c342f47749ff2b1cd2785ade5494d9c5c37 Mon Sep 17 00:00:00 2001 From: quoing Date: Sat, 5 Dec 2015 17:05:02 +0100 Subject: [PATCH] Fix 'An error occurred while looking up _xmpp-client._tcp.10.100.1.108' when IP host is configured ... jabber: user=ansible@mydomain.tld host=10.100.1.108 ... fatal: [bruce.mess.cz] => failed to parse: Invalid debugflag given: always Invalid debugflag given: nodebuilder --- lib/ansible/modules/extras/notification/jabber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/notification/jabber.py b/lib/ansible/modules/extras/notification/jabber.py index 6d97e4232d..6d9c19b789 100644 --- a/lib/ansible/modules/extras/notification/jabber.py +++ b/lib/ansible/modules/extras/notification/jabber.py @@ -134,7 +134,7 @@ def main(): msg = xmpp.protocol.Message(body=module.params['msg']) try: - conn=xmpp.Client(server) + conn=xmpp.Client(server, debug=[]) if not conn.connect(server=(host,port)): module.fail_json(rc=1, msg='Failed to connect to server: %s' % (server)) if not conn.auth(user,password,'Ansible'):