mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
tests/service/test_services_present.yml: Add missing cleanup
The cleanup of the test services and hosts have been missing, which could lead to a test failure.
This commit is contained in:
@@ -8,6 +8,18 @@
|
|||||||
- name: Include generate_test_data.yml
|
- name: Include generate_test_data.yml
|
||||||
ansible.builtin.include_tasks: generate_test_data.yml
|
ansible.builtin.include_tasks: generate_test_data.yml
|
||||||
|
|
||||||
|
- name: Cleanup Services len:{{ service_list | length }}
|
||||||
|
ipaservice:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
|
services: "{{ service_absent_list }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
|
- name: Cleanup Hosts len:{{ host_list | length }}
|
||||||
|
ipahost:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
|
hosts: "{{ host_absent_list }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Hosts present len:{{ host_list | length }}
|
- name: Hosts present len:{{ host_list | length }}
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
|
|||||||
Reference in New Issue
Block a user