diff options
author | James Cammarata <jimi@sngx.net> | 2015-05-03 21:47:26 -0500 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2015-05-03 21:47:26 -0500 |
commit | ce3ef7f4c16e47d5a0b5600e1c56c177b7c93f0d (patch) | |
tree | ebb90eaba034dfb4ea8a3afe746a87f9b7dee66f /samples/test_include.yml | |
parent | 8cf4452d48e583cfd59f96e67cfd34a1c35226e7 (diff) | |
download | ansible-ce3ef7f4c16e47d5a0b5600e1c56c177b7c93f0d.tar.gz |
Making the switch to v2
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" + |