mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
408 B
YAML
17 lines
408 B
YAML
7 years ago
|
# 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
|