mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Moving samples/ out of the root into test/
Since samples/ is used for v2 testing, it fits better into the existing test/ structure.
This commit is contained in:
17
test/samples/test_blocks_of_blocks.yml
Normal file
17
test/samples/test_blocks_of_blocks.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user