Directly runnig module doesn't work with fetch_url() function within module #53872
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
traceback
This issue/PR includes a traceback.
verified
This issue has been verified/reproduced by maintainer
SUMMARY
I'm trying to run my module locally using next instructions https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#exercising-module-code-locally
And I get an error.
ISSUE TYPE
COMPONENT NAME
Any module containing fetch_url() function from ansible.module_utils.urls
In my case it is my module I'm developing https://github.com/okgolove/ansible/blob/sentry_fixes/lib/ansible/modules/web_infrastructure/sentry_project.py
ANSIBLE VERSION
CONFIGURATION
args.json
OS / ENVIRONMENT
MacOS 10.14.3, Python 2.7.15
STEPS TO REPRODUCE
pipenv shell && source hacking/env-setup && python lib/ansible/modules/web_infrastructure/sentry_project.py args.json
EXPECTED RESULTS
Module runs properly.
ACTUAL RESULTS
And I get an error:
The text was updated successfully, but these errors were encountered: