clarified xmpp lib to use

This commit is contained in:
Brian Coca 2015-07-28 18:53:13 -04:00
parent 74c20b0639
commit 827b2a4196

View file

@ -59,7 +59,8 @@ options:
required: false
# informational: requirements for nodes
requirements: [ xmpp ]
requirements:
- python xmpp (xmpppy)
author: "Brian Coca (@bcoca)"
'''
@ -111,7 +112,7 @@ def main():
)
if not HAS_XMPP:
module.fail_json(msg="xmpp is not installed")
module.fail_json(msg="The required python xmpp library (xmpppy) is not installed")
jid = xmpp.JID(module.params['user'])
user = jid.getNode()