mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix the behavior of ipa modules in case IPA_HOST is empty (#241)
* Fix the behavior of ipa modules in case IPA_HOST is empty The expected behavior, when the env is empty, is to fallback on DNS. Without this fix, if IPA_HOST is empty, there are different errors, depending on urllib version, which additionally confuses the user. Example errors: * host_find: Request failed: <urlopen error no host given> * Failed to connect to None at port 443: [Errno 111] Connection refused", "status": -1, "url": "https:///ipa/session/json * Add a changelog fragment for IPA_HOST fix * Update changelogs/fragments/241-fix-ipa-modules-when-ipa_host-empty.yml Co-authored-by: Sandra McCann <samccann@redhat.com> Co-authored-by: John R Barker <john@johnrbarker.com> Co-authored-by: Sandra McCann <samccann@redhat.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ipa modules - fix error when IPA_HOST is empty and fallback on DNS (https://github.com/ansible-collections/community.general/pull/241)
|
||||
Reference in New Issue
Block a user