add hint for single run redeploy
This commit is contained in:
@@ -42,4 +42,8 @@ Somtimes it is need to redeploy a runner (with other token e.g.). in this case y
|
||||
RUNNER_REDEPLOY: true
|
||||
```
|
||||
Hint: should remove after usage!
|
||||
Hint 2: you can use --extra-vars in command for sinlge use:
|
||||
```bash
|
||||
ansible-playbook playbooks/git-runners.yml -l runnerhost --extra-vars '{"RUNNER_REDEPLOY": true}'
|
||||
```
|
||||
With this option ansible delete the `.runner` file. Without this file ansible do a new registration for this runner.
|
||||
Reference in New Issue
Block a user