summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/task_ordering/tasks/taskorder-include.yml
blob: 228e897e4d659048393022dc6246f59747473dcf (plain)
1
2
3
4
5
6
7
8
9
10
# This test ensures that included tasks are run in order.
# There have been regressions where included tasks and
# nested blocks ran out of order...

- shell:  printf one.{{ item }}. >> {{ temppath }}
- block:
  - shell: printf two.{{ item }}. >> {{ temppath }}
  - block:
    - shell: printf three.{{ item }}. >> {{ temppath }}
- shell: printf four.{{ item }}. >> {{ temppath }}