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/main.yml

39 lines
764 B
YAML
Raw Normal View History

---
- name: remove test tasks before test
include_tasks: clean.yml
- block:
# old tests, remove once new code is considered stable
- name: Test in normal mode
import_tasks: tests.yml
vars:
in_check_mode: no
- name: Test in check-mode
import_tasks: tests.yml
vars:
in_check_mode: yes
check_mode: yes
- include_tasks: clean.yml
- name: Test failure scenarios
include_tasks: failures.yml
- name: Test normal scenarios
include_tasks: new_tests.yml
- include_tasks: clean.yml
- name: Test principals
include_tasks: principals.yml
- include_tasks: clean.yml
- name: Test triggers
include_tasks: triggers.yml
always:
- name: remove test tasks after test
include_tasks: clean.yml