mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
389 B
YAML
18 lines
389 B
YAML
10 years ago
|
- hosts: localhost
|
||
|
gather_facts: no
|
||
|
tasks:
|
||
|
- block:
|
||
|
- block:
|
||
|
- block:
|
||
|
- block:
|
||
9 years ago
|
- debug: msg="are we there yet {{foo}}?"
|
||
10 years ago
|
always:
|
||
|
- debug: msg="a random always block"
|
||
|
- fail:
|
||
|
rescue:
|
||
|
- debug: msg="rescuing from the fail"
|
||
9 years ago
|
when: not skip_me|default(False)
|
||
9 years ago
|
- debug: msg="i am the last task"
|
||
|
vars:
|
||
|
foo: bar
|