If you're going to use urllib, you'd better import it
This commit is contained in:
parent
7685d60c58
commit
b75c10d5ea
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue