If you're going to use urllib, you'd better import it

This commit is contained in:
Joseph Tate 2014-11-18 02:59:18 -05:00 committed by Matt Clay
parent 7685d60c58
commit b75c10d5ea

View file

@ -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()