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
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ This role will deploy/redeploy/uninstall and register/unregister local GitHub Ac
13
13
* System must have access to the GitHub.
14
14
15
15
* The role require Personal Access Token to access the GitHub. The token has to be a value of `PERSONAL_ACCESS_TOKEN` variable.
16
-
Export the token to the local host environment. The token has to have admin rights for the repo.
17
-
Personal Access Token for GitHub account can be created [here](https://github.com/settings/tokens).
16
+
Export the token to the local host environment. The token has to have admin rights for the repo.
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.
# If found, delete already existed runner before install
52
+
uninstall_runner: no
53
+
51
54
# Do not show Ansible logs which may contain sensitive data (registration token)
52
55
hide_sensitive_logs: yes
53
56
@@ -98,10 +101,10 @@ In this example the Ansible role will deploy (or redeploy) the GitHub Actions ru
98
101
- role: monolithprojects.github_actions_runner
99
102
```
100
103
101
-
By using tag `uninstall`, GitHub Actions runner will be removed from the host and unregistered from the GitHub repository.
104
+
By using tag `uninstall` with combination of variable `uninstall_runner: yes`, GitHub Actions runner will be removed from the host and unregistered from the GitHub repository.
0 commit comments