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
parent b54920ea8f
commit fb9f1cfaf3

View file

@ -94,6 +94,8 @@ def main():
# Mission complete # Mission complete
module.exit_json(msg="OK") module.exit_json(msg="OK")
#make sure urllib is available for do_notify_grove
import urllib
# import module snippets # import module snippets
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
main() main()