File tree 2 files changed +11
-4
lines changed 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
* .pyc
2
+ .idea
2
3
3
4
/tower_collection_actual.yml
Original file line number Diff line number Diff line change 1
1
---
2
2
3
- - hosts : all
3
+ - name : Run Async Tasks playbooks
4
+ hosts : all
4
5
gather_facts : false
6
+ become : yes
5
7
tasks :
6
8
7
9
- name : Create the async directory to prevent race conditions
13
15
- name : Poll a sleep
14
16
command : " sleep 10"
15
17
async : 30
16
- poll : 5
18
+ poll : 0
17
19
18
20
- debug :
19
21
msg : " I'm a debug message."
28
30
msg : " I'm another debug message."
29
31
30
32
- name : Examine slow command
31
- async_status : jid={{ fired.ansible_job_id }}
33
+ async_status :
34
+ jid : " {{ fired.ansible_job_id }}"
35
+ mode : status
32
36
register : slow_command
33
37
until : slow_command.finished
34
38
retries : 20
43
47
msg : " I'm yet another debug message."
44
48
45
49
- name : Examine slow reversal
46
- async_status : jid={{ fired.ansible_job_id }}
50
+ async_status :
51
+ jid : " {{ fired.ansible_job_id }}"
52
+ mode : status
47
53
register : slow_command
48
54
until : slow_command.finished
49
55
retries : 20
You can’t perform that action at this time.
0 commit comments