Closed SamyCoenen closed 3 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @eikef @ndclt click here for bot help
Hi @SamyCoenen,
it seems logical to me that you have to specify the protocol and it fails without it. @resmo: what do you think about it?
@ndclt It would be nice to have a clear error message in that case.
Right now unknown url type
doesn't tell me that protocol http or https is missing.
resolved_by_pr #1487
SUMMARY
When I don't define the protocol(http/https) I get an unknown url type exception
This happens when using the
keycloak_client
module with a wrongauth_keycloak_url
https://github.com/ansible-collections/community.general/blob/46914b857c55221f7047ac32c68ca83f34739293/plugins/modules/identity/keycloak/keycloak_client.py#L721
this uses
open_url
here https://github.com/ansible-collections/community.general/blob/46914b857c55221f7047ac32c68ca83f34739293/plugins/module_utils/identity/keycloak/keycloak.py#L90open_url
is included in Ansible itself.In an existing issue I found this
ISSUE TYPE
COMPONENT NAME
keycloak_client
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS