File tree Expand file tree Collapse file tree 5 files changed +29
-4
lines changed Expand file tree Collapse file tree 5 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 2121 tag : " latest"
2222 - os : " debian10"
2323 tag : " latest"
24+ - os : " debian11"
25+ tag : " latest"
2426 - os : " fedora35"
2527 tag : " latest"
2628 - os : " ubuntu18"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Personal Access Token for GitHub account can be created [here](https://github.co
3434* AMD64, x86_64
3535## Tested on:
3636
37- * Debian 9,10
37+ * Debian 9,10,11
3838* Fedora 35
3939* Rocky Linux 8
4040* Ubuntu 18,20
@@ -83,6 +83,9 @@ runner_org: no
8383# Labels to apply to the runner
8484runner_labels : []
8585
86+ # Group to add organization runner to
87+ runner_group : " "
88+
8689# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
8790runner_download_repository : " actions/runner"
8891
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ runner_org: no
3535# Labels to apply to the runner
3636runner_labels : []
3737
38+ # Group to add organization runner to
39+ runner_group : " "
40+
3841# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
3942runner_download_repository : " actions/runner"
4043
Original file line number Diff line number Diff line change 11---
2+ # All dependencies derived from https://github.com/actions/runner/blob/main/docs/start/envlinux.md
23- name : Install dependencies on Debian Stretch
34 package :
45 pkg :
2930 tags :
3031 - install
3132
33+ - name : Install dependencies on Debian Bullseye
34+ package :
35+ pkg :
36+ - acl
37+ - liblttng-ust0
38+ - libkrb5-3
39+ - zlib1g
40+ - libssl1.1
41+ - libicu67
42+ state : present
43+ update_cache : yes
44+ when : (ansible_distribution == "Debian" and ansible_distribution_major_version == "11")
45+ tags :
46+ - install
47+
3248- name : Install dependencies on Ubuntu Xenial systems
3349 package :
3450 pkg :
Original file line number Diff line number Diff line change 110110- name : Register runner (if new installation) for organization
111111 command :
112112 " {{ 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(',') }} \
114+ --runnergroup {{ runner_group }} --unattended \
114115 {{ runner_extra_config_args }}"
115116 args :
116117 chdir : " {{ runner_dir }}"
138139- name : Replace registered runner for organization
139140 command :
140141 " {{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
141- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
142- {{ runner_extra_config_args }} --replace"
142+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} \
143+ --runnergroup {{ runner_group }} --unattended {{ runner_extra_config_args }} --replace"
143144 args :
144145 chdir : " {{ runner_dir }}"
145146 become : yes
You can’t perform that action at this time.
0 commit comments