mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
14 lines
300 B
YAML
14 lines
300 B
YAML
---
|
|
- name: Test host
|
|
hosts: ipaserver
|
|
become: yes
|
|
|
|
tasks:
|
|
- name: Ensure host with inexistent zone is absent.
|
|
ipahost:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: host01.absentzone.test
|
|
state: absent
|
|
register: result
|
|
failed_when: result.failed or result.changed
|