Skip to content

Commit 0ff65e1

Browse files
Edit README
1 parent 241af0c commit 0ff65e1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ 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. For examle "'label1','label2'"
86-
runner_labels: "''"
85+
# Labels to apply to the runner
86+
runner_labels: []
8787

8888
# Custom service name when usign Github Enterprise server
8989
# service_name: actions.runner._services.{{ runner_name }}.service
@@ -131,8 +131,8 @@ Same example as above, but runner will be added to an organization.
131131
- role: monolithprojects.github_actions_runner
132132
```
133133
134-
In this example the Ansible role will deploy (or update) the GitHub Actions runner service (version 2.165.2) and register the runner for the GitHub repo. Runner service will run under the user `runner-user`.
135-
The runner service will be *stopped*.
134+
In this example the Ansible role will deploy (or update) the GitHub Actions runner service (version 2.165.2) and register the runner for the GitHub repo. Runner service will run under the user `runner-user`. Runner will be registered with two labels.
135+
The runner service will be *stopped* and disabled.
136136

137137
```yaml
138138
---
@@ -145,6 +145,9 @@ The runner service will be *stopped*.
145145
- github_account: github-access-user
146146
- github_repo: my_awesome_repo
147147
- runner_state: "stopped"
148+
- runner_labels:
149+
- production
150+
- west
148151
roles:
149152
- role: monolithprojects.github_actions_runner
150153
```

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. For examle "'label1','label2'"
38+
# Labels to apply to the runner
3939
runner_labels: []
4040

4141
# Custom service name when usign Github Enterprise server

0 commit comments

Comments
 (0)