summaryrefslogtreecommitdiffstats
path: root/test/playbook-includer.yml
diff options
context:
space:
mode:
authorDaniel Hokka Zakrisson <daniel@hozac.com>2012-11-09 13:09:20 +0100
committerDaniel Hokka Zakrisson <daniel@hozac.com>2012-11-09 15:43:49 +0100
commit9c095b72b9e93f4363fcee493323313c4445c17d (patch)
tree8023b888400abd142697023ef2d0e30410d5132e /test/playbook-includer.yml
parentRename varReplaceWithItems to template_ds (diff)
downloadansible-9c095b72b9e93f4363fcee493323313c4445c17d.tar.xz
ansible-9c095b72b9e93f4363fcee493323313c4445c17d.zip
Add parameterized playbook includes
Also makes with_* work with them. Fixes #1162.
Diffstat (limited to 'test/playbook-includer.yml')
-rw-r--r--test/playbook-includer.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/playbook-includer.yml b/test/playbook-includer.yml
new file mode 100644
index 0000000000..a3804211fe
--- /dev/null
+++ b/test/playbook-includer.yml
@@ -0,0 +1,8 @@
+---
+- include: playbook-included.yml variable=foobar
+- include: playbook-included.yml variable=foofoo
+- include: playbook-included.yml variable=$item
+ with_items:
+ - foo
+ - bar
+ - baz