From 3acb0849026ced5e35a0858ddfe9d9ad10528afe Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 28 Jul 2015 18:53:13 -0400 Subject: [PATCH] clarified xmpp lib to use --- lib/ansible/modules/extras/notification/jabber.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/notification/jabber.py b/lib/ansible/modules/extras/notification/jabber.py index 677cc4ffded..6d97e4232df 100644 --- a/lib/ansible/modules/extras/notification/jabber.py +++ b/lib/ansible/modules/extras/notification/jabber.py @@ -59,8 +59,9 @@ options: required: false # informational: requirements for nodes -requirements: [ xmpp ] -author: Brian Coca +requirements: + - python xmpp (xmpppy) +author: "Brian Coca (@bcoca)" ''' EXAMPLES = ''' @@ -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()