mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 10:45:55 +00:00
Until now ansible-freeipa repository only had playbook tests. This commit introduces the ability of creating TestCase classes connected to the master host. This connection can be used to run commands in the managed host after the ansible playbook execution is the allowing the verification of the machine state.
11 lines
259 B
YAML
11 lines
259 B
YAML
---
|
|
- name: Playbook to ensure, not able to add invalid(more than 4294967295) serial numbers.
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- ipadnszone:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: invalidserialzone.test
|
|
serial: 429496729599
|