diff options
Diffstat (limited to 'samples/test_include.yml')
-rw-r--r-- | samples/test_include.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/samples/test_include.yml b/samples/test_include.yml new file mode 100644 index 0000000000..60befd9911 --- /dev/null +++ b/samples/test_include.yml @@ -0,0 +1,25 @@ +- 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" + |