Merge pull request #166 from t-woerner/domain_validator_no_zone_overlap_check

ipaserver_test: Do not use zone_overlap_check for domain name validation
This commit is contained in:
Rafael Guterres Jeffman
2019-12-13 13:24:48 -03:00
committed by GitHub

View File

@@ -719,12 +719,7 @@ def main():
msg="File %s does not exist." % options.dirsrv_config_file)
# domain_name
if options.setup_dns and not options.allow_zone_overlap and \
options.domain_name is not None:
try:
check_zone_overlap(options.domain_name, False)
except ValueError as e:
ansible_module.fail_json(msg=str(e))
# Validation is done later on in ipaserver_prepare dns.install_check
# dm_password
with redirect_stdout(ansible_log):