summaryrefslogtreecommitdiffstats
path: root/test/schemas/test/playbooks/tasks/run_once.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/test/playbooks/tasks/run_once.yml')
-rw-r--r--test/schemas/test/playbooks/tasks/run_once.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/schemas/test/playbooks/tasks/run_once.yml b/test/schemas/test/playbooks/tasks/run_once.yml
new file mode 100644
index 0000000..0f3f6f7
--- /dev/null
+++ b/test/schemas/test/playbooks/tasks/run_once.yml
@@ -0,0 +1,9 @@
+- name: foo
+ ansible.builtin.debug:
+ msg: foo!
+ run_once: true # valid
+
+- name: foo2
+ ansible.builtin.debug:
+ msg: foo!
+ run_once: "{{ true }}" # valid