From b75c10d5ea3a7e704a1824b2d9158aeed4de2a21 Mon Sep 17 00:00:00 2001 From: Joseph Tate Date: Tue, 18 Nov 2014 02:59:18 -0500 Subject: [PATCH] If you're going to use urllib, you'd better import it --- lib/ansible/modules/extras/notification/grove.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/extras/notification/grove.py b/lib/ansible/modules/extras/notification/grove.py index e6bf241bda..01ab5a39a4 100644 --- a/lib/ansible/modules/extras/notification/grove.py +++ b/lib/ansible/modules/extras/notification/grove.py @@ -94,6 +94,8 @@ def main(): # Mission complete module.exit_json(msg="OK") +#make sure urllib is available for do_notify_grove +import urllib # import module snippets from ansible.module_utils.basic import * main()