Last active
May 9, 2017 14:25
-
-
Save evrardjp/56da60826da8a5a978683626282c6ca1 to your computer and use it in GitHub Desktop.
Async bug or not bug. Here is the question.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
gather_facts: no | |
connection: local | |
tasks: | |
# This should have finished at worst 13 seconds (+1, poll frequency) after the start | |
- shell: "sleep {{ item }}" | |
async: 20 | |
poll: 1 | |
with_items: | |
- 9 | |
- 7 | |
- 13 | |
- 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have a look at the start time and finish time. They were all running one after each other.
Whatever the strategy is.
I don't know what to expect.