ansible/v2/samples/test_blocks_of_blocks.yml

14 lines
279 B
YAML
Raw Normal View History

- hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet?"
2015-03-25 18:51:40 +00:00
always:
- debug: msg="a random always block"
- fail:
rescue:
- debug: msg="rescuing from the fail"