From e71602be6e9bc646ed71738b6c8739972030375e Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Fri, 19 Jul 2024 17:08:20 +0200 Subject: [PATCH] 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. --- tests/service/test_services_present.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/service/test_services_present.yml b/tests/service/test_services_present.yml index 338737eb..9c4e7519 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 -- GitLab