summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/callback_default/test_async.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/callback_default/test_async.yml')
-rw-r--r--test/integration/targets/callback_default/test_async.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/callback_default/test_async.yml b/test/integration/targets/callback_default/test_async.yml
new file mode 100644
index 0000000..57294a4
--- /dev/null
+++ b/test/integration/targets/callback_default/test_async.yml
@@ -0,0 +1,14 @@
+---
+- hosts: testhost
+ gather_facts: no
+ tasks:
+ - name: test success async output
+ command: sleep 1
+ async: 10
+ poll: 1
+
+ - name: test failure async output
+ command: sleep 10
+ async: 1
+ poll: 1
+ ignore_errors: yes