1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
quoing 2015-12-05 17:05:02 +01:00 committed by Matt Clay
parent df195b3076
commit 6f782c342f

View file

@ -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'):