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