ansible/test/integration/targets/task_ordering/tasks/taskorder-include.yml

10 lines
408 B
YAML

# 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.stdout }}
- block:
- shell: printf two.{{ item }}. >> {{ temppath.stdout }}
- block:
- shell: printf three.{{ item }}. >> {{ temppath.stdout }}
- shell: printf four.{{ item }}. >> {{ temppath.stdout }}