mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 05:43:26 +00:00
test_dnsrecord.yml: Add failed_when test for A rec with reverse, NS record
The test to make sure that the task set the changed flag and did not fail was missing. Also the repeated task to make sure that the task did not set the change flag.
This commit is contained in:
@@ -432,6 +432,18 @@
|
||||
name: host04
|
||||
ip_address: "{{ ipv4_prefix }}.114"
|
||||
reverse: yes
|
||||
register: result
|
||||
failed_when: not result.changed or result.failed
|
||||
|
||||
- name: Ensure that 'host04' has a A record with reverse, for NS record, again.
|
||||
ipadnsrecord:
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
zone_name: "{{ testzone }}"
|
||||
name: host04
|
||||
ip_address: "{{ ipv4_prefix }}.114"
|
||||
reverse: yes
|
||||
register: result
|
||||
failed_when: result.changed or result.failed
|
||||
|
||||
- name: Ensure that 'host04' has NS record.
|
||||
ipadnsrecord:
|
||||
|
||||
Reference in New Issue
Block a user