summaryrefslogtreecommitdiffstats
path: root/test/schemas/test/playbooks/var_files.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/test/playbooks/var_files.yml')
-rw-r--r--test/schemas/test/playbooks/var_files.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/schemas/test/playbooks/var_files.yml b/test/schemas/test/playbooks/var_files.yml
new file mode 100644
index 0000000..2630287
--- /dev/null
+++ b/test/schemas/test/playbooks/var_files.yml
@@ -0,0 +1,18 @@
+---
+- name: var_files should accept null
+ hosts: localhost
+ vars_files: null
+
+- name: var_files should accept string
+ hosts: localhost
+ vars_files: /dev/null
+
+- name: var_files should accept array[string]
+ hosts: localhost
+ vars_files:
+ - /dev/null
+
+- name: var_files should accept array of array[string]
+ hosts: localhost
+ vars_files:
+ - ["/dev/null"]