File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ runner_name: "{{ ansible_hostname }}"
38
38
# Labels to apply to the runner
39
39
runner_labels : []
40
40
41
+ # GitHub repository where releases will be downloaded from
42
+ runner_download_repository : " actions/runner"
43
+
41
44
# Custom service name when usign Github Enterprise server
42
45
# service_name: actions.runner._services.{{ runner_name }}.service
43
46
Original file line number Diff line number Diff line change 11
11
12
12
- name : Find the latest runner version (RUN ONCE)
13
13
uri :
14
- url : " https://api.github.com/repos/actions/runner /releases/latest"
14
+ url : " https://api.github.com/repos/{{ runner_download_repository }} /releases/latest"
15
15
headers :
16
16
Content-Type : " application/json"
17
17
method : GET
54
54
55
55
- name : Download runner package version - "{{ runner_version }}" (RUN ONCE)
56
56
get_url :
57
- url : " https://github.com/actions/runner /releases/download/v{{ runner_version }}/\
57
+ url : " https://github.com/{{ runner_download_repository }} /releases/download/v{{ runner_version }}/\
58
58
actions-runner-linux-{{ github_actions_architecture }}-{{ runner_version }}.tar.gz"
59
59
dest : " {{ runner_pkg_tempdir }}/actions-runner-linux-{{ runner_version }}.tar.gz"
60
60
force : no
You can’t perform that action at this time.
0 commit comments