ansible/test/integration/targets/win_scheduled_task/tasks/clean.yml
Jordan Borean 838f39e76a win_scheduled_task: rewrite (#28995)
* win_scheduled_task: rewrite for additionality functionality and bug fixes

* fixes for docs and os version differences

* started with the testing

* doc fix

* added more tests

* added principals tests

* finished tests for win_scheduled_task rewrite

* feedback from PR

* change to fail when both new and deprecated args are set

* change diff variable to match new standard and update doc sentance
2017-09-20 10:28:03 +10:00

16 lines
408 B
YAML

# 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