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
8282# Name to assign to this runner in GitHub (System hostname as default)
8383runner_name : " {{ ansible_hostname }}"
8484
85- # Labels to apply to the runner
85+ # Labels to apply to the runner. For examle "'label1','label2'"
8686runner_labels : " ''"
8787
8888# 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
3535# Name to assign to this runner in GitHub (System hostname as default)
3636runner_name : " {{ ansible_hostname }}"
3737
38- # Labels to apply to the runner
38+ # Labels to apply to the runner. For examle "'label1','label2'"
3939runner_labels : " ''"
4040
4141# Custom service name when usign Github Enterprise server
Original file line number Diff line number Diff line change 1313 - runner_name : " {{ ansible_hostname }}"
1414
1515 tasks :
16+ - name : Give the runners a minute
17+ pause :
18+ seconds : 60
19+
1620 - name : Check currently registered runners
1721 uri :
1822 url : " {{ github_api_url }}/orgs/{{ github_owner | default(github_account) }}/actions/runners"
Original file line number Diff line number Diff line change 1313 - runner_name : " {{ ansible_hostname }}"
1414
1515 tasks :
16+ - name : Pause for 5 minutes to build app cache
17+ pause :
18+ seconds : 60
19+
1620 - name : Check currently registered runners
1721 uri :
1822 url : " {{ github_api_url }}/repos/{{ github_owner | default(github_account) }}/{{ github_repo }}/actions/runners"
2529 register : registered_runners
2630
2731 - name : Check Runner
32+ retries : 5
33+ delay : 5
2834 assert :
2935 that :
3036 - runner_name in registered_runners.json.runners|map(attribute='name')|list
You can’t perform that action at this time.
0 commit comments