mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
38 lines
764 B
YAML
38 lines
764 B
YAML
---
|
|
- 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
|