samples/test_include.yml
d0cfcdbc
 - hosts: all
4af2d0a9
   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
d0cfcdbc
     - include: "{{inventory_hostname}}_include.yml"
4af2d0a9
     - fail:
 
d0cfcdbc
     rescue:
     - include: include.yml a=rescue
4af2d0a9
 
     always:
     - include: include.yml a=always
 
785c0c0c
   #handlers:
ca4c5a14
   #- name: foo
   #  include: include.yml a="this is a handler"
4af2d0a9