2017-09-20 02:28:03 +02:00
|
|
|
---
|
|
|
|
- name: remove test tasks before test
|
|
|
|
include_tasks: clean.yml
|
2017-03-15 15:11:24 +01:00
|
|
|
|
2017-09-20 02:28:03 +02:00
|
|
|
- block:
|
|
|
|
# old tests, remove once new code is considered stable
|
2017-03-24 03:42:12 +01:00
|
|
|
- name: Test in normal mode
|
2017-09-20 02:28:03 +02:00
|
|
|
include_tasks: tests.yml
|
2017-03-24 03:42:12 +01:00
|
|
|
vars:
|
|
|
|
in_check_mode: no
|
2017-03-15 15:11:24 +01:00
|
|
|
|
2017-03-24 03:42:12 +01:00
|
|
|
- name: Test in check-mode
|
2017-09-20 02:28:03 +02:00
|
|
|
include_tasks: tests.yml
|
2017-03-24 03:42:12 +01:00
|
|
|
vars:
|
|
|
|
in_check_mode: yes
|
|
|
|
check_mode: yes
|
2017-09-20 02:28:03 +02:00
|
|
|
|
|
|
|
- include_tasks: clean.yml
|
|
|
|
|
|
|
|
- name: Test failure scenarios
|
|
|
|
include: 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
|