mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Adding an A/AAAA record to a host fails if there's not a reverse zone set that the resulting PTR record can be added to, even if create_reverse is false. Changing the rule to create the reverse record fixes the issue. Fixes: #1381 Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
32 lines
961 B
YAML
32 lines
961 B
YAML
---
|
|
- name: Setup variables and facts.
|
|
ansible.builtin.include_tasks: env_vars.yml
|
|
|
|
# Cleanup before setup.
|
|
- name: Cleanup test environment.
|
|
ansible.builtin.include_tasks: env_cleanup.yml
|
|
|
|
# Common setup tasks.
|
|
- name: Ensure DNS testing zones are present.
|
|
ipadnszone:
|
|
ipaadmin_password: SomeADMINpassword
|
|
ipaapi_context: "{{ ipa_context | default(omit) }}"
|
|
name: "{{ item }}"
|
|
skip_nameserver_check: yes
|
|
skip_overlap_check: yes
|
|
with_items:
|
|
- "{{ zone_prefix_reverse_24 }}"
|
|
- "{{ zone_prefix_reverse_16 }}"
|
|
- "{{ zone_prefix_reverse_8 }}"
|
|
- "{{ zone_ipv6_reverse_workaround }}"
|
|
- "{{ testzone }}"
|
|
|
|
- name: Ensure DNSSEC zone '"{{ safezone }}"' is present.
|
|
ipadnszone:
|
|
ipaadmin_password: SomeADMINpassword
|
|
ipaapi_context: "{{ ipa_context | default(omit) }}"
|
|
name: "{{ safezone }}"
|
|
dnssec: yes
|
|
skip_nameserver_check: yes
|
|
skip_overlap_check: yes
|