mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-04-19 23:31:02 +00:00
Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is ansible.builtin.set_fact instead of set_fact for example and aplies for all actions that are part of ansible.builtin. All the replaced ansible.builtins: assert, command, copy, debug, fail, fetch, file, import_playbook, import_tasks, include_role, include_tasks, include_vars, package, set_fact, shell, slurp, stat, systemd
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
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 }}"
|
|
- "{{ 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
|