ansible/test/samples/test_blocks_of_blocks.yml
Dag Wieers 5775739437 Moving samples/ out of the root into test/
Since samples/ is used for v2 testing, it fits better into the existing test/ structure.
2016-03-11 21:59:06 +01:00

17 lines
389 B
YAML

- hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet {{foo}}?"
always:
- debug: msg="a random always block"
- fail:
rescue:
- debug: msg="rescuing from the fail"
when: not skip_me|default(False)
- debug: msg="i am the last task"
vars:
foo: bar