ansible/samples/test_blocks_of_blocks.yml
2015-05-03 21:47:26 -05:00

13 lines
279 B
YAML

- hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet?"
always:
- debug: msg="a random always block"
- fail:
rescue:
- debug: msg="rescuing from the fail"