You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 07:41:16 +03:00
Fix bug with returning results in IPA role (#3561)
* Fix bug with returning results in IPA role Fix #3560 * Add changelog * Fix typo in changelog * Update changelogs/fragments/3561-fix-ipa-host-var-detection.yml Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> * Update changelogs/fragments/3561-fix-ipa-host-var-detection.yml Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> * Update changelogs/fragments/3561-fix-ipa-host-var-detection.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@ -31,6 +31,7 @@ def _env_then_dns_fallback(*args, **kwargs):
|
||||
result = env_fallback(*args, **kwargs)
|
||||
if result == '':
|
||||
raise AnsibleFallbackNotFound
|
||||
return result
|
||||
except AnsibleFallbackNotFound:
|
||||
# If no host was given, we try to guess it from IPA.
|
||||
# The ipa-ca entry is a standard entry that IPA will have set for
|
||||
|
Reference in New Issue
Block a user