| Option | Default | Description |
|---|---|---|
| when | always | Specify when other task(s) is/are executed. Possible values are accepted, rejected, failed, aborted, always. |
| task | -- | Name of task(s) to be executed |
Note that
abortedis not included inalways. Tasks will only run onabortedif specified.
run_task:
when: accepted
task: another-task-to-be-executed
run_task:
when:
- accepted
- rejected
task:
- another-task-to-be-executed
- third-task-to-be-executed