mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 05:43:26 +00:00
The test for dnsrecord creates a DNSSEC zone, and was forcing the task to ignore errors using `ignore_errors: true`. The test environment should be clean at that point, and without the zone, tests would fail, so there is no need to keep the attribute set. If the task fails, it should be fixed.
34 lines
995 B
YAML
34 lines
995 B
YAML
---
|
|
- name: Setup variables and facts.
|
|
include_tasks: env_vars.yml
|
|
|
|
# Cleanup before setup.
|
|
- name: Cleanup test environment.
|
|
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 }}"
|
|
- "{{ zone_prefix_reverse_24 }}"
|
|
- "{{ zone_prefix_reverse_16 }}"
|
|
- "{{ zone_prefix_reverse_8 }}"
|
|
- "{{ zone_ipv6_reverse_workaround }}"
|
|
- "{{ testzone }}"
|
|
- "{{ zone_ipv6_reverse }}"
|
|
|
|
- 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
|