1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/win_scheduled_task/tasks/clean.yml

17 lines
408 B
YAML
Raw Normal View History

# cleans up each test to ensure a blank slate
---
- win_scheduled_task:
name: '{{item.name}}'
path: '{{item.path|default(omit)}}'
state: absent
with_items:
- name: Task # old tests
path: \Path
- name: '{{test_scheduled_task_name}}'
- name: '{{test_scheduled_task_name}}'
path: '{{test_scheduled_task_path}}'
- win_user:
name: '{{test_scheduled_task_user}}'
state: absent