Skip to content

Commit

Permalink
test_zabbix_host: proper clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
BGmot committed Dec 28, 2023
1 parent cfa218f commit 5d682c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/targets/test_zabbix_host/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
always:
- name: "cleanup if tests failed"
community.zabbix.zabbix_host:
host_name: ExampleHost
host_name: "{{ item }}"
state: absent
ignore_errors: true
with_items:
- ExampleHost
- ExampleHost1
- ExampleHost2

0 comments on commit 5d682c6

Please sign in to comment.