File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ runner_labels: []
87
87
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
88
88
runner_download_repository : " actions/runner"
89
89
90
- # Extra arguments to pass to `config.sh`
90
+ # Extra arguments to pass to `config.sh`.
91
+ # Several arguments muste be set as one string (i.e. "--ephemeral --my_special_fork")
91
92
runner_extra_config_args : " "
92
93
93
94
# Name to assign to this runner in GitHub (System hostname as default)
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ runner_labels: []
38
38
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
39
39
runner_download_repository : " actions/runner"
40
40
41
- # Extra arguments to pass to `config.sh`
41
+ # Extra arguments to pass to `config.sh`.
42
+ # Several arguments muste be set as one string (i.e. "--ephemeral --my_special_fork")
42
43
runner_extra_config_args : " "
43
44
44
45
# Name to assign to this runner in GitHub (System hostname as default)
Original file line number Diff line number Diff line change 2
2
galaxy_info :
3
3
author : Michal Muransky
4
4
role_name : github_actions_runner
5
+ namespace : monolithprojects
5
6
description : Deploy Github Actions private runner
6
7
company : MonolithProjects
7
8
license : " license (MIT)"
Original file line number Diff line number Diff line change 110
110
- name : Register runner (if new installation) for organization
111
111
command :
112
112
" {{ runner_dir }}/./config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
113
- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended"
113
+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
114
+ {{ runner_extra_config_args }}"
114
115
args :
115
116
chdir : " {{ runner_dir }}"
116
117
become : yes
123
124
- name : Replace registered runner for repo
124
125
command :
125
126
" {{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }}/{{ github_repo }} \
126
- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended --replace"
127
+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
128
+ {{ runner_extra_config_args }} --replace"
127
129
args :
128
130
chdir : " {{ runner_dir }}"
129
131
become : yes
136
138
- name : Replace registered runner for organization
137
139
command :
138
140
" {{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
139
- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended --replace"
141
+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
142
+ {{ runner_extra_config_args }} --replace"
140
143
args :
141
144
chdir : " {{ runner_dir }}"
142
145
become : yes
You can’t perform that action at this time.
0 commit comments