Fixing broken patch 20957a1

Also adds integration tests for nested includes with conditionals
This commit is contained in:
James Cammarata 2014-08-11 14:52:21 -05:00
parent b0295af7ee
commit 783a1e3dfc
4 changed files with 14 additions and 4 deletions

View file

@ -164,3 +164,11 @@
- result.invocation.module_name == "debug"
- result.msg == "this should be debugged"
- name: test conditional includes
include: test_include_conditional.yml
when: false
- name: assert the nested include from test_include_conditional was not set
assert:
that:
- nested_include_var is undefined

View file

@ -0,0 +1 @@
- include: test_include_nested.yml

View file

@ -0,0 +1,2 @@
- name: set the nested include fact
set_fact: nested_include_var=1