File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ runner_org: no
82
82
# Name to assign to this runner in GitHub (System hostname as default)
83
83
runner_name : " {{ ansible_hostname }}"
84
84
85
- # Labels to apply to the runner
85
+ # Labels to apply to the runner. For examle "'label1','label2'"
86
86
runner_labels : " ''"
87
87
88
88
# Custom service name when usign Github Enterprise server
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ runner_org: no
35
35
# Name to assign to this runner in GitHub (System hostname as default)
36
36
runner_name : " {{ ansible_hostname }}"
37
37
38
- # Labels to apply to the runner
38
+ # Labels to apply to the runner. For examle "'label1','label2'"
39
39
runner_labels : " ''"
40
40
41
41
# Custom service name when usign Github Enterprise server
Original file line number Diff line number Diff line change 13
13
- runner_name : " {{ ansible_hostname }}"
14
14
15
15
tasks :
16
+ - name : Give the runners a minute
17
+ pause :
18
+ seconds : 60
19
+
16
20
- name : Check currently registered runners
17
21
uri :
18
22
url : " {{ github_api_url }}/orgs/{{ github_owner | default(github_account) }}/actions/runners"
Original file line number Diff line number Diff line change 13
13
- runner_name : " {{ ansible_hostname }}"
14
14
15
15
tasks :
16
+ - name : Pause for 5 minutes to build app cache
17
+ pause :
18
+ seconds : 60
19
+
16
20
- name : Check currently registered runners
17
21
uri :
18
22
url : " {{ github_api_url }}/repos/{{ github_owner | default(github_account) }}/{{ github_repo }}/actions/runners"
25
29
register : registered_runners
26
30
27
31
- name : Check Runner
32
+ retries : 5
33
+ delay : 5
28
34
assert :
29
35
that :
30
36
- runner_name in registered_runners.json.runners|map(attribute='name')|list
You can’t perform that action at this time.
0 commit comments