refinements to long-running-job-test.yml

This commit is contained in:
Chris Hammer
2022-04-07 09:47:27 -04:00
parent eebc93b658
commit 1285a96b2b

View File

@ -7,13 +7,15 @@
vars:
time_to_sleep : 300
run_cmd : "find /"
poll_interval : 3
tasks:
- name: Simulate a long running job
command : "sleep {{ time_to_sleep }}"
command : "{{ run_cmd }}"
async : "{{ time_to_sleep + 10 }}" # give +10s leeway
poll : 3
poll : "{{ poll_interval }}"
...