mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +00:00
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:
@@ -719,12 +719,7 @@ def main():
|
|||||||
msg="File %s does not exist." % options.dirsrv_config_file)
|
msg="File %s does not exist." % options.dirsrv_config_file)
|
||||||
|
|
||||||
# domain_name
|
# domain_name
|
||||||
if options.setup_dns and not options.allow_zone_overlap and \
|
# Validation is done later on in ipaserver_prepare dns.install_check
|
||||||
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))
|
|
||||||
|
|
||||||
# dm_password
|
# dm_password
|
||||||
with redirect_stdout(ansible_log):
|
with redirect_stdout(ansible_log):
|
||||||
|
|||||||
Reference in New Issue
Block a user