Skip to content

Commit 002c47d

Browse files
Update
1 parent 664aeda commit 002c47d

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ runner_org: no
8282
# Name to assign to this runner in GitHub (System hostname as default)
8383
runner_name: "{{ ansible_hostname }}"
8484

85-
# Labels to apply to the runner
85+
# Labels to apply to the runner. For examle "'label1','label2'"
8686
runner_labels: "''"
8787

8888
# Custom service name when usign Github Enterprise server

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runner_org: no
3535
# Name to assign to this runner in GitHub (System hostname as default)
3636
runner_name: "{{ ansible_hostname }}"
3737

38-
# Labels to apply to the runner
38+
# Labels to apply to the runner. For examle "'label1','label2'"
3939
runner_labels: "''"
4040

4141
# Custom service name when usign Github Enterprise server

molecule/org/verify.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
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"

molecule/repo/verify.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
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"
@@ -25,6 +29,8 @@
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

0 commit comments

Comments
 (0)