Skip to content

Commit f8ab389

Browse files
Merge pull request #6 from MonolithProjects/develop
Docs correction Former-commit-id: b17060b
2 parents 9331825 + 760e248 commit f8ab389

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

README.md

+3-15
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,10 @@ In this example the role will deploy (or redeploy) the GitHub Actions runner ser
6969
- role: monolithprojects.github_actions_runner
7070
```
7171
72-
Here the GitHub Actions runners will be uninstalled, service stopped and unregistered from the GitHub.
72+
By using tag `uninstall`, GitHub Actions runner will be removed from the host and unregistered from the GitHub.
7373

74-
```yaml
75-
---
76-
- name: GitHub Actions Runner
77-
hosts: all
78-
become: yes
79-
tags:
80-
- uninstall
81-
vars:
82-
- runner_version: "2.165.2"
83-
- runner_user: runner
84-
- github_account: myuser
85-
- github_repo: my_awesome_repo
86-
roles:
87-
- role: monolithprojects.github_actions_runner
74+
```bash
75+
ansible-playbook playbook.yml --tags uninstall
8876
```
8977

9078
ToDo

0 commit comments

Comments
 (0)