Skip to content

Commit 3434314

Browse files
authored
Add variables to skip of overlap check for FreeIPA server DNS zones (#272)
Signed-off-by: Jim Enright <[email protected]>
1 parent 25efe8e commit 3434314

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

roles/freeipa_server/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ ipaadmin_principal: admin
2828
ipaadmin_password: "{{ undef(hint='Please define the FreeIPA administrator principal password') }}"
2929

3030
ipadm_password: "{{ undef(hint='Please define the FreeIPA Directory Manager admin password') }}"
31+
32+
ipaserver_forward_no_overlap_check: false
33+
ipaserver_reverse_no_overlap_check: false

roles/freeipa_server/meta/argument_specs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ argument_specs:
5757
description:
5858
- Certificate Authority subject for the self-signed root CA.
5959
default: "CN=CLDR-RootCA,O=ipaserver_domain"
60+
ipaserver_forward_no_overlap_check:
61+
description:
62+
- Skip overlap check for forward DNS zones.
63+
default: false
64+
ipaserver_reverse_no_overlap_check:
65+
description:
66+
- Skip overlap check for reverse DNS zones.
67+
default: false
6068
ipaadmin_principal:
6169
description:
6270
- Kerberos principal for the FreeIPA administrator account.

roles/freeipa_server/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@
8686
dynamic_update: true
8787
allow_sync_ptr: true
8888
forward_policy: none
89+
skip_overlap_check: "{{ ipaserver_forward_no_overlap_check }}"
8990
ipaadmin_password: "{{ ipaadmin_password }}"
9091

9192
- name: Create reverse DNS zones in provisioned FreeIPA service
9293
freeipa.ansible_freeipa.ipadnszone:
9394
name_from_ip: "{{ cidr }}"
9495
dynamic_update: true
9596
allow_sync_ptr: true
97+
skip_overlap_check: "{{ ipaserver_reverse_no_overlap_check }}"
9698
ipaadmin_password: "{{ ipaadmin_password }}"
9799
loop: "{{ ipaserver_cidr }}"
98100
loop_control:

0 commit comments

Comments
 (0)