summaryrefslogtreecommitdiffstats
path: root/test/blockincludes2.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/blockincludes2.yml')
-rw-r--r--test/blockincludes2.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/blockincludes2.yml b/test/blockincludes2.yml
new file mode 100644
index 0000000..03d7a75
--- /dev/null
+++ b/test/blockincludes2.yml
@@ -0,0 +1,13 @@
+---
+- hosts: webservers
+ vars:
+ varset: varset
+ tasks:
+ - block:
+ - include: nestedincludes.yml tags=nested
+ - block:
+ - include: "{{ varnotset }}.yml"
+ rescue:
+ - include: "{{ varset }}.yml"
+ always:
+ - include: "directory with spaces/main.yml"