summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/debugger/test_run_once_playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/debugger/test_run_once_playbook.yml')
-rw-r--r--test/integration/targets/debugger/test_run_once_playbook.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/debugger/test_run_once_playbook.yml b/test/integration/targets/debugger/test_run_once_playbook.yml
new file mode 100644
index 0000000..ede3a53
--- /dev/null
+++ b/test/integration/targets/debugger/test_run_once_playbook.yml
@@ -0,0 +1,12 @@
+- hosts: testhost, testhost2
+ gather_facts: false
+ debugger: on_failed
+ tasks:
+ - name: Task 1
+ assert:
+ that: 'false'
+ run_once: yes
+
+ - name: Task 2
+ debug:
+ msg: "Task 2 executed"