summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/include_import/include_role_omit/playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/include_import/include_role_omit/playbook.yml')
-rw-r--r--test/integration/targets/include_import/include_role_omit/playbook.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/include_import/include_role_omit/playbook.yml b/test/integration/targets/include_import/include_role_omit/playbook.yml
new file mode 100644
index 0000000..a036906
--- /dev/null
+++ b/test/integration/targets/include_import/include_role_omit/playbook.yml
@@ -0,0 +1,12 @@
+- hosts: localhost
+ gather_facts: false
+ vars:
+ include_role_omit: false
+ tasks:
+ - include_role:
+ name: foo
+ tasks_from: '{{ omit }}'
+
+ - assert:
+ that:
+ - include_role_omit is sameas(true)