summaryrefslogtreecommitdiffstats
path: root/test/jinja2-when-failure.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/jinja2-when-failure.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/jinja2-when-failure.yml b/test/jinja2-when-failure.yml
new file mode 100644
index 0000000..aec7269
--- /dev/null
+++ b/test/jinja2-when-failure.yml
@@ -0,0 +1,10 @@
+- hosts: all
+ tasks:
+ - name: test when with jinja2
+ debug: msg=text
+ when: "{{ false }}"
+
+- hosts: all
+ roles:
+ - role: test
+ when: "{{ '1' = '1' }}"