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
+11-13Lines changed: 11 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This role will deploy/redeploy/uninstall and register/unregister local GitHub Ac
12
12
13
13
* System must have access to the GitHub.
14
14
15
-
* The role require Personal Access Token for the GitHub user. The token has to be a value of `PERSONAL_ACCESS_TOKEN` variable.
15
+
* The role require Personal Access Token to access the GitHub. The token has to be a value of `PERSONAL_ACCESS_TOKEN` variable.
16
16
Export the token to the local host environment. The token has to have admin rights for the repo.
17
17
Personal Access Token for GitHub account can be created [here](https://github.com/settings/tokens).
18
18
**Note:** Never store you personal access token in the GitHub repository. Use [GitHub Secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) or some different secrets service.
@@ -51,13 +51,13 @@ replace_runner: yes
51
51
# Do not show Ansible logs which may contain sensitive data (registration token)
In this example the role will deploy (or redeploy) the GitHub Actions runner service (latest available version) and register the runner for the GitHub repo.
69
+
In this example the Ansible role will deploy (or redeploy) the GitHub Actions runner service (latest available version) and register the runner for the GitHub repo.
70
70
Runner service will run under the same user as the Ansible is using for ssh connection (*ansible*).
71
71
72
72
```yaml
@@ -76,13 +76,13 @@ Runner service will run under the same user as the Ansible is using for ssh conn
76
76
user: ansible
77
77
become: yes
78
78
vars:
79
-
- github_account: my-github-user
79
+
- github_account: github-access-user
80
80
- github_repo: my_awesome_repo
81
81
roles:
82
82
- role: monolithprojects.github_actions_runner
83
83
```
84
84
85
-
In this example the role will deploy (or redeploy) the GitHub Actions runner service (version 2.165.2) and register the runner for the GitHub repo. Runner service will run under the used`runner-user`.
85
+
In this example the Ansible role will deploy (or redeploy) 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`.
86
86
87
87
```yaml
88
88
---
@@ -92,7 +92,7 @@ In this example the role will deploy (or redeploy) the GitHub Actions runner ser
92
92
vars:
93
93
- runner_version: "2.165.2"
94
94
- runner_user: runner-user
95
-
- github_account: my-github-user
95
+
- github_account: github-access-user
96
96
- github_repo: my_awesome_repo
97
97
roles:
98
98
- role: monolithprojects.github_actions_runner
@@ -104,12 +104,10 @@ By using tag `uninstall`, GitHub Actions runner will be removed from the host an
0 commit comments