1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/samples/test_blocks_of_blocks.yml

18 lines
389 B
YAML
Raw Normal View History

- hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet {{foo}}?"
2015-03-25 19:51:40 +01:00
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