ansible/test/samples/test_include.yml
Adrien Vergé 0e834fc9e4 Fix cosmetic problems in YAML source
This change corrects problems reported by the `yamllint` linter.

Since key duplication problems were removed in 4d48711, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
2016-11-11 14:50:57 -08:00

24 lines
451 B
YAML

- hosts: all
gather_facts: no
tasks:
- block:
- include: include.yml a=1
when: 1 == 1
notify: foo
- include: include.yml a={{item}}
with_items:
- foo
- bar
- bam
- include: "{{inventory_hostname}}_include.yml"
- fail:
rescue:
- include: include.yml a=rescue
always:
- include: include.yml a=always
#handlers:
#- name: foo
# include: include.yml a="this is a handler"