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

11 lines
408 B
YAML
Raw Normal View History

# 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 }}