You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,16 @@
10
10
This role will deploy/redeploy/uninstall and register/unregister local GitHub Actions Runner on Linux and macOS Systems (see [compatibility list](#supported-operating-systems) ).
11
11
It supports Enterprise, Organization and Repository Runners.
12
12
13
-
## Role Installation
13
+
## Role Installation (My Galaxy account is currently broken. Please use Github.)
14
+
15
+
**cli**
16
+
17
+
```yml
18
+
ansible-galaxy role install git+https://github.com/MonolithProjects/ansible-github_actions_runner.git,1.21.1
19
+
```
14
20
15
21
**requirements.yml**
22
+
16
23
```yml
17
24
roles:
18
25
- name: monolithprojects.github_actions_runner
@@ -47,13 +54,14 @@ Personal Access Token for GitHub account can be created [here](https://github.co
47
54
48
55
## Supported Operating Systems
49
56
50
-
* Red Hat Enterprise Linux 7
51
-
* CentOS 7
57
+
* Red Hat Enterprise Linux 7+
58
+
* CentOS 7+
52
59
* Rocky Linux 8+
53
60
* Fedora 29+
54
61
* Debian 9+
55
-
* Ubuntu 16.04+
62
+
* Ubuntu 18.04+
56
63
* MacOS High Sierra +
64
+
* Windows
57
65
58
66
## Weekly tested on:
59
67
@@ -72,7 +80,7 @@ This is a copy from `defaults/main.yml`
72
80
runner_user: "{{ lookup('env', 'USER') }}"
73
81
74
82
# Directory where the local runner will be installed
75
-
runner_dir: /opt/actions-runner
83
+
runner_dir: "{{ 'C:\\actions-runner' if ansible_facts.system == 'Win32NT' else '/opt/actions-runner' }}"
76
84
77
85
# Version of the GitHub Actions Runner
78
86
runner_version: "latest"
@@ -111,7 +119,7 @@ runner_group: ""
111
119
runner_download_repository: "actions/runner"
112
120
113
121
# Extra arguments to pass to `config.sh`.
114
-
# Several arguments muste be set as one string (i.e. "--ephemeral --my_special_fork")
122
+
# Several arguments must be set as one string (i.e. "--ephemeral --my_special_fork")
115
123
runner_extra_config_args: ""
116
124
117
125
# Name to assign to this runner in GitHub (System hostname as default)
0 commit comments