mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-29 19:04:42 +00:00
Added missing reverse zones tests setup
In some case the tests needs to have the class A, B and C of reverse DNS set in order to function properly. Those missing classes where added/updated in dnsrecord, services and host tests.
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
# Set common vars and facts for test.
|
||||
- name: Set IPv4 address prefix.
|
||||
set_fact:
|
||||
ipv4_prefix: '192.168.122'
|
||||
ipv4_reverse_sufix: '122.168.192'
|
||||
ipv4_prefix: "{{ ansible_default_ipv4.address.split('.')[:-1] |
|
||||
join('.') }}"
|
||||
ipv4_reverse_sufix: "{{ ansible_default_ipv4.address.split('.')[:-1] |
|
||||
reverse |
|
||||
join('.') }}"
|
||||
|
||||
- name: Set zone prefixes.
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user