File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff 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
9078ToDo
You can’t perform that action at this time.
0 commit comments