diff options
Diffstat (limited to 'test/schemas/test/playbooks/when.yml')
-rw-r--r-- | test/schemas/test/playbooks/when.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/schemas/test/playbooks/when.yml b/test/schemas/test/playbooks/when.yml new file mode 100644 index 0000000..93b7781 --- /dev/null +++ b/test/schemas/test/playbooks/when.yml @@ -0,0 +1,11 @@ +--- +- name: Test for when (passing) + hosts: localhost + gather_facts: false + tasks: + - name: Testing for when is passed a list + ansible.builtin.debug: + msg: "this is ok" + when: + - true + - "foo" |