Skip to content

Commit

Permalink
Merge pull request #6 from MonolithProjects/develop
Browse files Browse the repository at this point in the history
Docs correction

Former-commit-id: b17060b
  • Loading branch information
MonolithProjects authored Mar 23, 2020
2 parents 9331825 + 760e248 commit f8ab389
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,10 @@ In this example the role will deploy (or redeploy) the GitHub Actions runner ser
- role: monolithprojects.github_actions_runner
```
Here the GitHub Actions runners will be uninstalled, service stopped and unregistered from the GitHub.
By using tag `uninstall`, GitHub Actions runner will be removed from the host and unregistered from the GitHub.

```yaml
---
- name: GitHub Actions Runner
hosts: all
become: yes
tags:
- uninstall
vars:
- runner_version: "2.165.2"
- runner_user: runner
- github_account: myuser
- github_repo: my_awesome_repo
roles:
- role: monolithprojects.github_actions_runner
```bash
ansible-playbook playbook.yml --tags uninstall
```

ToDo
Expand Down

0 comments on commit f8ab389

Please sign in to comment.