From eaea8446ae1a245bae2a6f2551e3e2768d0c48f2 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 27 Feb 2018 21:01:50 +0545 Subject: [PATCH] examples: simplistic async_polling.yml --- examples/playbook/async_polling.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/playbook/async_polling.yml diff --git a/examples/playbook/async_polling.yml b/examples/playbook/async_polling.yml new file mode 100644 index 00000000..f15aba71 --- /dev/null +++ b/examples/playbook/async_polling.yml @@ -0,0 +1,10 @@ +--- + +- hosts: all + gather_facts: false + tasks: + + - name: simulate long running op (15 sec), wait for up to 45 sec, poll every 5 sec + command: /bin/sleep 10 + async: 15 + poll: 1