-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tower settings fails with stacktrace - expected to exit gracefully #7267
Comments
You are using module incorrecly. See documentation at the top of module source. Perhaps, you mean:
or
Latest devel already have a requirement for one use case, though type for input value is not explicitly checked to be string. https://github.com/ansible/awx/blob/devel/awx_collection/plugins/modules/tower_settings.py |
Marking as low, it's an incorrect invocation, but we may consider a nicer error. |
@wenottingham @sumkincpp I am aware that the invocation was wrong and I know the correct way but I pasted wrong version here so that you can see how to reproduce that error. Thanks. |
Tried this out in a local playbook and this is working for me now. Let me know if you need something further @kedark3, closing for now |
ISSUE TYPE
SUMMARY
Running awx.awx.settings module throws
AttributeError: 'NoneType' object has no attribute 'startswith'
ENVIRONMENT
STEPS TO REPRODUCE
Data:
EXPECTED RESULTS
Error should be more helpful, gracefully handled vs flat out traceback if possible.
ACTUAL RESULTS
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: