diff --git a/tests/service/test_services_present.yml b/tests/service/test_services_present.yml index 338737eb238051403948b81a6d77c51b583e16e5..9c4e75193fa3caa755754ff18c0c070e6723db3c 100644 --- a/tests/service/test_services_present.yml +++ b/tests/service/test_services_present.yml @@ -8,6 +8,18 @@ - name: Include 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 }} ipahost: ipaadmin_password: SomeADMINpassword